为什么此代码在 Internet Explorer 9 中不起作用?
function calc() {
alert('aaa');
}
$('body').delegate('input', 'change', function(){
// In here, $(this) is the input that has changed
calc();
});
$('body').delegate('select', 'change', function(){
calc();
});