javascript - Using jQuery to select checkboxes with click events -


is there way use jquery select checkboxes on page have associated click event? considered adding class, instance hasclickevent, use identify such classes, editing huge script click events sporadically added on place , think end being messier, single jquery call perfect

jquery.each($('input[type=checkbox]').data('events'), function(i, event){      jquery.each(event, function(i, handler){          if(handler.type.tostring() == 'click')         {             //         }      });  }); 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -