e.preventDefault(); Not Working
Morning All,
I'm having real trouble getting e.preventDefault(); to work.
Here is my code
$('#ListSnapshot a').live('click', function(e){
var url = $(this).attr('href') +' #WebPartWPQ2 .ms-listviewtable';
$('#ListSnapshot').load(url);
Could someone explain what I'm doing wrong, I can see the load function work but then the page redirects to the clicked link which I need to prevent.
Thanks in advance!
Gary