If I have the following simple code segment:
click me &
no it doesnt work with the a tag you can use the jquery event.preventDefault() referance here
a
event.preventDefault()