|
-
Jan 10th, 2001, 12:26 PM
#1
How can I do index.htm?param1=Guy
I want to pass a paramter to my webpage but I don't know how to do this, the parameter must stay hidden on the page it may not be passed into a textbox
can somebody help me with this ?
Guy
-
Jan 10th, 2001, 12:48 PM
#2
Frenzied Member
why can u put it in a hidden text box and use POST as method?
-
Jan 10th, 2001, 01:04 PM
#3
a hidden text box is fine, but how do i use it ?
can you give me some code please
Guy
-
Jan 10th, 2001, 01:17 PM
#4
Frenzied Member
you use it exactly like a normal one ,
<input type="hidden" name="txtHidden">
-
Jan 10th, 2001, 04:02 PM
#5
I think he means how does he recieve it... it can't be done in plain HTML..... it has to be PHP, ASP, Perl, etc... I think it can also be done in JavaScript.
-
Jan 10th, 2001, 05:50 PM
#6
I found out how to do it with Javascript
here is the code which returns everthing after the '?'
var text = window.location.search.substring(1);
This solves my problem 
Guy
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
|