Code to Open new window in Java Script

i always tend to forget the code to open the new popup window in javascript but finally here is the code in view

window.open(“SKULookup.aspx”,null,
“height=300,width=362,status=yes,toolbar=no,menubar=no,location=no”);

Explanation:
————–

Window.open(“PagePath”,null,”attributes”)

attributes
———–
height – size
width – size
status – yes/no
toolbar – yes/no
menubar – yes/no
location – yes/no

i think i dont need to remind it again.

Yasir

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s