I my application i am having three links, on clicking the link i need to find which link has been clicked and need to pass some unique information to the next page.
Kindly help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It would be good if you could clarify this a bit. Because there are many ways if solving this without Javascript…
You can either add a paramater to the URL link that is clicked. For instance instead of:
Use:
Then simply use that value in using Javascript on the following page by using for instance this script: http://snipplr.com/view/799/get-url-variables/
If you are using a server-side scripting language like PHP you can pick up on what page refered to the page your on.
There are more examples, just comment on this if you want me to give you more.