-
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.
-
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