|
-
Feb 18th, 2003, 10:19 PM
#1
Thread Starter
Addicted Member
href question
Hi,
I have a form with 6 hrefs all pointing to the same asp file like this.
<a href="SearchAllowance.asp">Search</a>
<a href="SearchAllowance.asp">Search</a>
<a href="SearchAllowance.asp">Search</a>
<a href="SearchAllowance.asp">Search</a>
<a href="SearchAllowance.asp">Search</a>
<a href="SearchAllowance.asp">Search</a>
My question is: Is there a way to know which particular href the user clicks, if its the first search or the 2nd or the 6th search links?
In my destination asp page, I wanted to test which link has been clicked.
I would appreciate any help.
Thanks.
-
Feb 19th, 2003, 01:45 AM
#2
Pass a variable to the page. i.e.
<a href="SearchAllowance.asp?c=1">Search</a>
<a href="SearchAllowance.asp?c=2">Search</a>
<a href="SearchAllowance.asp?c=3">Search</a>
etc etc
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
|