I wonder is this a bug in chrome or jQuery, or am I misunderstanding the usage of the .live function
$('.input_form input[type="radio"]').live({
'change':function(){
console.log("this is a radio button");
}
});
The above code sends output to the console window when I click on a radio button with class 'input_form' in all major browsers
however the following code:
$('.input_form input[type="radio"]').live({
'focus':function(){
console.log("this is a radio button");
}
});
sends output to the console window in all browsers, except google chrome (10)
the only difference is the change from 'change' to 'focus' as my event trigger.
can anyone shed some light?
Check this question [1], it states that the focus events do not get fired on radio buttons in chrome and safari.