Home > Article > Web Front-end > A brief discussion on Jquery binding events to elements_jquery
How Jquery binds events to elements, take a note to prevent forgetting!
$(this).bind({ click:function(){ window.open(alert('OK')); }, mouseover:function(){ window.open(alert('OK')); }, mouseout:function(){ window.open(alert('OK')); } });
The above is the entire content of this article, I hope you all like it.