HighDots Forums  

Pass a GET argument from one page to another

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Pass a GET argument from one page to another in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shabam
 
Posts: n/a

Default Pass a GET argument from one page to another - 09-16-2005 , 09:58 PM






I need to have a static html page basically pass all GET arguments from one
page to another. For example, I'm on page A. It has "x=12&y=45". There's
a link on page A that goes to page B. Page B has a link to page C.
Basically what page B needs to do is pass the "x=12&y=45" to page C. It
doesn't need to do anything other than pass it.

How can I do this?



Reply With Quote
  #2  
Old   
Jasen Betts
 
Posts: n/a

Default Re: Pass a GET argument from one page to another - 10-15-2005 , 08:05 PM






["Followup-To:" header set to alt.comp.lang.javascript.]
On 2005-09-17, Shabam <chalupa (AT) yomama-nospam (DOT) com> wrote:


Quote:
I need to have a static html page basically pass all GET arguments from one
page to another. For example, I'm on page A. It has "x=12&y=45". There's
a link on page A that goes to page B. Page B has a link to page C.
Basically what page B needs to do is pass the "x=12&y=45" to page C. It
doesn't need to do anything other than pass it.

How can I do this?
pass them using get, and grab from document.location.query using javasccript.

you'll need to unescape() them before using them.



--

Bye.
Jasen


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.