this is what i want to do:
I have many anchors in a webpage, some are managed with ajax since they are binded to a click event with jquery; some are not so they are sending to another page via regular http request.
<a href="#/something" >something</a>
<a href="#/ajax/something" class="blabla">ajax something</a>
<script type="text/javascript">
$(function(){
$('.blabla').click(function(){
//doing some ajax return false so anchor don't redirect
return false;
});
});
</script>
Please don't respond regard to anchor clases, like 'hey select all anchors that don't have "blabla" class'. I'm doing this because i'm triying to put a "waiting" label over the page for every anchor that is not been managed via ajax. I want to know if an anchor has a click event binded to itself.
Regards.