Run default action for event

In the event handler, how can I trigger the default action. That is, is there something opposite .event.preventDefault()?

+5
source share
2 answers

use the bind function to handle any events to prevent default actions

$('#id').bind('click', function() {
  //your action goes here 
});
-3
source

Then do not use event.preventDefault();and usereturn true

-1
source

All Articles