Let's say I have a link:
<a href='http://example.com/file.zip' id='dl'>Download</a>
And while someone click on it, I want to do something, such as:
$("#dl").live("click", function(e){
e.preventDefault();
$("#dlbox").fadeOut(500);
});
Is there a way after I e.preventDefault
, to go ahead and doDefault
? something like:
$("#dl").live("click", function(e){
e.preventDefault();
$("#dlbox").fadeOut(500);
e.doDefault();
});
so it'll run the event normally?