I have some radios in my page,and I want to do something when the checked radio changes,however the code does not work in IE:
$(\'input:radio\').change(...);
Works for me too, here is a better solution::
You must make sure that you initialized jquery
above all other imports and javascript functions. Because $
is a jquery
function. Even
$(function(){
});
will not check jquery
initialised or not. It will ensure that will run only after all the javascripts are initialized.