code_junkie

double click function by JQuery doesn't work on radio input in FireFox

Nov 13th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. $("input[type='radio']").each(function(){
  2. $(this).dblclick(function(){
  3. $(this).removeAttr("checked");
  4. });
  5. });
  6.  
  7. $("input[type='radio']").dblclick(function(){
  8. $(this).removeAttr("checked");
  9. });
Add Comment
Please, Sign In to add comment