[jQuery] how to prevent linking to AJAX material before functions are in action
I know I read a good article on this some time ago but connot remeber
what the suggestion was now.
What I need to do is prevent my links to link to the content I am
loading using ajax calls
when the user might be very quickly clickning things on the page
before the functions to
prevent the default action are in place...
I 've tried to add a $( 'a' ).click( functiono(){
return false;
});
before
$( document ).ready( function() {
but it's still possible to do the quick enough click...
many thanks
/pär