DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+4 =
Submit