e.preventDefault()
is not working in my IE6. Could you please provide some code to make it work in IE too?
I am using this function not anchor tag but on an image tag, so whenever somebody clicks on an image he should be ablt o drag over the image
e.preventDefault()
is not working in my IE6. Could you please provide some code to make it work in IE too?
I am using this function not anchor tag but on an image tag, so whenever somebody clicks on an image he should be ablt o drag over the image
in place of e.preventDefault()
you could also return false;
at the end of the code like this,
$('a').click(function(){
// other codes
return false;
});