You are kind of defeating the purpose of Jquery if you put the call to
the function in an A element. Does the parent of the A element in
question have an ID? You could then call $('parent a'). If there is
more than one A in there you can target it with other selectors
(http://docs.jquery.com/Selectors).

Lastly, if that isn't possible and you have to put it in the href, use
Javascript to call the function, but inside your function you can use
Jquery.

Reply via email to