|
-
Apr 7th, 2003, 06:51 AM
#1
Thread Starter
Frenzied Member
Client Side JavaScript and the Request Object
I know that you can gather data from a cookie with client-side javascript so is it also possible to get data from the Request object? (This is what it is called in ASP anyway).
Reason I need this is:
I have a page that sometimes has a variable passed by the GET method of a form - I need to get the value of this variable in client-side JavaScript.
Any ideas?
-
Apr 7th, 2003, 05:38 PM
#2
Fanatic Member
Store the variable in the location (i.e. "www.realisticgraphics.com/index.htm?MyVar=MyValue")
Then you can retreive that value through the location.search property.
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|