I have 6 different links,and each link is going to call a different Ajax function.
I’m using the <a href> tag because I want it to appear as a link….Can I use this tag to call the Ajax function? or it only works with URL links?
THANKS!
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.
Yes you can incorpore the link in the following way:
– on your link you can write
<a href="#" onclick="function()">...</a>Here you can see further information about this topic:
What is the difference between the different methods of putting JavaScript code in an ?