Clicking link with specific ID

Monday, June 30, 2014

I have a link that looks like this:



<a href="http://ift.tt/1qdA29I" id="reply-link" cmt_author="demo" cmt_pid="23" cmt_op-id="15">Reply</a>


I need to execute this function when it is clicked: http://ift.tt/1pS27Bd


I'm horrible with JS/JQuery, so this was a premade function that I had found somewhere on the internet and managed to edit. It works the way it is, but its starting to conflict with other links on my page.


Maybe this can be simplified to do what I need it to?







http://ift.tt/1qdA29K