473,327 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

how to open new window with parameter in URL

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.

--
Thanks

John
Toronto

Jul 23 '05 #1
5 2971
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.

Jul 23 '05 #2
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.

Jul 23 '05 #3
Hi

Thanks. What I meant was to have a URL like

http://www.google.com/search?biw=1369&hl=en&q=abc

the above URL is the address when typing in abc in google search bar

what I meant argument is refer to

search?biw=1369&hl=en&q=abc

Can you help it out?

John

Jul 23 '05 #4
Hi

Thanks. What I meant was to have a URL like

http://www.google.com/search?biw=1369&hl=en&q=abc

the above URL is the address when typing in abc in google search bar

what I meant argument is refer to

search?biw=1369&hl=en&q=abc

Can you help it out?

John

*** Sent via Developersdex http://www.developersdex.com ***
Jul 23 '05 #5
Hi.

Yes, I think it also can be done. But "search?biw=1369&hl=en&q=abc"
comes when you press the Submit button. It's not the link.

If you put
url = "http://www.google.com/search?b*iw=1369&hl=en&q=abc"
like on previous example, nobody will be searching only for "abc" only.

What do you think.

Sujan

Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Phillip Parr | last post by:
Hello, I have a nice system where someone clicks on a picture to show the full version. This pops up in a window.open box. It works great, the only problem is that if the user clicks a second...
7
by: Woody | last post by:
I want to open a window containing a JPEG image, and I want the window dimensions to match the image dimensions. Therefore, the proper command syntax should be: window.open ("mypic.jpg", "",...
23
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div...
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
2
by: Magnus Blomberg | last post by:
Hello! I am very new to javascripts and wonder if there are any ways to send a parameter from a javascript with window.open. My java code is like: <script language="JavaScript"> function...
6
by: Charlie Garrett-Jones | last post by:
i have a server side generated web application that provides parameter forms and always opens the associated reports in a new browser window. the code that controls the opening of the new browser...
5
by: Bechtle | last post by:
Hi googlers I'm creating a portal on MS Office Portal Server. Unfortunaterly there's no way to open a link of the navigation in a new window. Now I'm trying to create a homepage with a...
0
by: thomas | last post by:
I found John Viescas's book "Access2003 Inside and Out" most helpful especially the section on Data Access Pages, and as such I have successfully launched a Intranet Web site whereby 4 remote sites...
1
by: DaveG | last post by:
Hi All I am having a small problem with window.open() obviously something I am or am not doing. This is being fired from a subwindow. Everytime I use just the location.href = "URL" I got a...
1
by: Sam | last post by:
I have 2 jsp pages which are loaded from the same browser window. Inside these jsp pages, I have created 2 windows to write client side log. I have used different id for 2 windows as follow. In...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.