Answer:
window.open("JS1.htm","wn","menubar=no,width=200,height=300,scrollbars=yes,resizable=yes")
here “JS1.htm” is the URL of the page which will open in new window “wn” is the name of the window and last parameter is to set attributes of the new window which opens.
In body tag
Get Questpond's 500+ .NET Interview preparation videos at discounted price
Found interesting? Add this to: