Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hit click function only once on first click jquery

1
2
3
$( "#foo" ).one( "click", function() {
  alert( "This will be displayed only once." );
});
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #hit #click #function #click #jquery
ADD COMMENT
Topic
Name
2+4 =