“Window.open Funkcja” Kod odpowiedzi

JavaScript Otwórz nowe okno

<a onclick="window.open(document.URL, '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
Open New Window
</a>
Friendly Hawk

Otwarte okno JavaScript

window.open('page2.html')
Yasin

Window.open Funkcja

<script type="text/javascript">
function fnc1()
{
    var a=window.location.href;

    username="p";
    password=1234;
    window.open(a+'?username='+username+'&password='+password,"");

}   
</script>
<input type="button" onclick="fnc1()" />
<input type="text" id="atext"  />
Repulsive Raven

Metoda otwarcia okna do wykrywania przeglądarki

browser detection and version dectaction in js
Combative Coyote

Odpowiedzi podobne do “Window.open Funkcja”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu