Forum Moderators: open

Message Too Old, No Replies

capturing query string and enter into hidden field

         

badjo

6:07 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



Hello - I have been scanning around for a solution but no luck yet.

I would like to find a script that will capture a query string and place it into a hidden form field on the html page.

Then when the visitor selects a product on the page and submits the form I have the ref id captured and I can associate the order with one of my partners.

I have tried using some snippets of code that have been posted but I can not get it together.

Anyone know how I can do this?

I am really grateful for any help.

Thank You
John

whoisgregg

6:48 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the thread for you: [webmasterworld.com...]

PurpleMartin posted a super duper javascript query stirng parser that will do exactly what you want. :)

Added: Also, you might want to read this current ongoing thread that tackles the same problem: [webmasterworld.com...]