Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    @OpenCode, just a quick note to mention that the on is available since jQuery 1.7 and @Calderan, +1 Commented Apr 3, 2012 at 14:59
  • @OpenCode, and if you want to avoid the inline onclick to happen. You might want to use removeAttr("onclick") since it will most likely trigger before the jQuery click event. Commented Apr 3, 2012 at 15:01
  • @Calderan, WOW great. jquery select is some mess for me. Commented Apr 3, 2012 at 15:30