Clicking link with specific ID

Monday, June 30, 2014

I have a link that looks like this:

<a href="" 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:

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?