apparition
Technical User
I need to be able to click on a link and the script tell me (alert or something) what number that link is in the link array on the page without actually typing the onClick attribute in the HTML tag.
Actually the ultimate goal is every time someone clicks on a link, I want to search the href attribute of that link for the string ".pdf". The whole point is that I don't want to go through each link setting the onClick attribute. I was looking at the event object but it confused the heck outa me
Any help would be appreciated.
Thanks
Actually the ultimate goal is every time someone clicks on a link, I want to search the href attribute of that link for the string ".pdf". The whole point is that I don't want to go through each link setting the onClick attribute. I was looking at the event object but it confused the heck outa me
Any help would be appreciated.
Thanks