Posts

Showing posts from July 29, 2010

Disable links Via jQuery

<script>

$(function(){

//grab all a tags

$('a').each(function(){

//click on a link....

$(this).click(function(){

alert($(this).attr('href')+' is not available');

//disable link

returnfalse;

});

});

});

</script>