please can some one tell me what is this window name in window.open()
is it title name or some Id in java script language?
windowName
A name to be given to the new window. The name can be used to refer this window again.
After opening the window you will want to do all sorts of things with it e.g. move it it then you can do
<html>
<head>
<title>Window Example</title>
</head>
<SCRIPT language="JavaScript1.2">
function poponload()
{
testwindow= window.open ("", "mywindow");
alert('I will move window to 0,0');
testwindow.moveTo(0,0);
}
</SCRIPT>
<body onload="javascript: poponload()">
<H1>Window Example</H1>
</body>
</html>
And NO its not window title
its different.
-source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With