Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bind jquery

/* As of jQuery 3.0, .bind() has been deprecated. 
It was superseded by the .on() method, as presented in the exemple below */

$("#foo").on("click", function(){
	alert("User click on foo");
});
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #bind #jquery
ADD COMMENT
Topic
Name
8+1 =