Talk about Jquery binding events for elements

  • 2020-06-01 08:17:19
  • OfStack

How Jquery binds events for elements, jot down 1 in case you forget!


$(this).bind({ 
  click:function(){ 
    window.open(alert('OK')); 
  }, 
  mouseover:function(){ 
  window.open(alert('OK')); 
  }, 
  mouseout:function(){ 
  window.open(alert('OK')); 
  } 
}); 

That's all for this article, I hope you enjoy it.


Related articles: