To make sure a click only actions once use this:
$(".bet").unbind().click(function() {
//Stuff
});
More Related Contents:
- How to stop default link click behavior with jQuery
- jQuery .on() method doesn’t see new elements
- Cancel click event in the mouseup event handler
- Javascript: function doesnt work even though condition is met (hard for me to explain)
- Check if an image is loaded (no errors) with jQuery
- jQuery $(document).ready and UpdatePanels?
- How to debug JavaScript / jQuery event bindings with Firebug or similar tools?
- Getting value of select (dropdown) before change
- Can I call jQuery’s click() to follow an link if I haven’t bound an event handler to it with bind or click already?
- Long Press in JavaScript?
- Event when user stops scrolling
- How to detect online/offline event cross-browser?
- jQuery scroll() detect when user stops scrolling
- Fire jQuery event on div change
- How to bind Events on Ajax loaded Content?
- Event delegation vs direct binding when adding complex elements to a page
- HTML5 dragleave fired when hovering a child element
- What the difference between .click and .change on a checkbox [duplicate]
- jQuery click anywhere in the page except on 1 div
- window.resize event firing in Internet Explorer
- jQuery: keyup event for mobile device
- How to detect if the user clicked the “back” button
- jQuery event that triggers after CSS is loaded?
- Difference between .click() and actually clicking a button? (javascript/jQuery)
- Jquery: mousedown effect (while left click is held down)
- Prevent firing focus event when clicking on div
- How to remove all click event handlers using jQuery?
- Catch scrolling event on overflow:hidden element
- Trigger for span text/html on changed
- Uncaught ReferenceError: Invalid left-hand side in assignment