What are different parameters to window.open ?

Different parameters of window.open are :
  1. URL - Specifies url of page to open
  2. Name - Assigns a target name to the newly opened window.
  3. Attributes - Controls the look of the opened window
window.open("URL","Name","Attributes");

Example :

window.open('www.google.com','win1','width=300,height=200,menubar');

No comments:

Popular Posts