Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


How to get parameters' value from a hyperlink URL

How to get parameters' value from a hyperlink URL

How to get parameters' value from a hyperlink URL

I am a WAP newbie, How can i get the value of parameters passed by a hyperlink

my code is below, and result from page2 are

Lastname: $(lastname)
Firstname: $(firstname)

Instead of value that i enter in page1.

I use blackberry to test this , do i miss anything?


<?xml version="1.0"?>
WML 1.1//EN"
<card id="page1" title="page1">
<p>Lastname: <input name="lastname">,/p>
<p>Firstname: <input name="firstname">,/p>
<a href="page2.asp?var1=$(firstname)&amp;var2=$(lastname)"></a>


<% @Language=vbscript%>
<?xml version="1.0"?>
WML 1.1//EN"
<card id="page2" title="page2">
Response.write"<p>Lastname: " & Request.querystring("var1") & "</p>"
Response.write"<p>Firstnamename: " & Request.querystring("var2") & "</p>"


Please help and thank you

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close