javascript - IE issue - jQuery .change() is not triggering callback when using checkbox/radio button? -


i have form multiple inputs, either radio or checkboxes. upon clicking specific checkbox/radio button, trigger "checked" of other checkbox/radio button. seems on ie 8-10, .change()'s callback happen when input element loses focus.

how can make trigger callback change detected?

maybe i'm making mistake js method:

$(function() {     $("#table_id input").change(function() {         // w/e stuff         if (this_guy_is_checked) {             check_this_other_guy();         }     }); }); 

use click binding rather change binding.. change not registered until element loses focus. (in ie)

$(element).click(function(){    //do }); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -