1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

JavaScript: Assign and remove a click handler from an element with jQuery

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    4.50/5

JavaScript » Basics — almost 8 years ago
Click handlers can be assigned to elements easily with jQuery so when the element is clicked some particular action is run. This post looks at how to add a click handler to an element, explains how adding multiple click handlers will fire all of them, and then how to remove the click events.

Comments

Your Comment

You must be logged in to post a comment.