Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: AW: query string in java script


Message #1 by =?iso-8859-1?Q?Hans_J=F6rg_Friedrich?= <hans.friedrich@b...> on Mon, 14 May 2001 13:47:20 +0200
Hello,
if I got you right and you just plan to forward the same Query String to
the next page then the following code should do.

location.href=3D"page2.htm" + location.search;

Otherwise you have to parse the Query String which is the search
property of the location object. (It starts with the '?')Then you can do
with this information whatever you want.

Hope this helps
Hans


-----Urspr=FCngliche Nachricht-----
Von: manoj singh [mailto:manoj_r_singh@r...]
Gesendet: Montag, 14. Mai 2001 12:15
An: javascript
Betreff: [javascript] query string in java script


 hello friends......
   i have problem...with query string.....like.....i am opening a
window...with the following code.....

window.open("t1.html?error1=3DNon
Recommencer&page=3Dddvalidation_b.asp&prevpage=3DLes_mani_1.asp&toshown=3D
y&to
showp=3Dn","myRemote","")

and i want the query string to  get by the javascript....so will it
possible for....javascript to get the query string in the next
page....like in  page t1.html

pls help me...
manoj


  Return to Index