how to open new window with parameter in URL

J

john woo

Hi

I'm wondering how to open new window with parameter in URL. like if the
new page URL like url="http://.../a.jsp?a=value"

I've tried in javascript function

window.open("url",...) or

window.open(url,...)

but the message from new page said no such page, actually the url is
valid by testing in URL address bar at I.E.
 
S

sujanrb

Hello John,

If your code is like this...

url = "http://www.google.com";
winName = "google";
winProperty = "toolbar=0, scrollbars=1, location=0, statusbar=0,
menubar=0, resizable=1, width=500, height=480, left=200, top=100'";
window.open(url, winName, winProperty);

Sujan.
 
S

sujanrb

Hello John,

If your code is like this...

url = "http://www.google.com";
winName = "google";
winProperty = "toolbar=0, scrollbars=1, location=0, statusbar=0,
menubar=0, resizable=1, width=500, height=480, left=200, top=100'";
window.open(url, winName, winProperty);

Sujan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,433
Messages
2,571,683
Members
48,796
Latest member
Greg L.

Latest Threads

Top