function onInput(event) {
console.log(event.target.value)
}
//兼容 ie
function onPropChange(event) {
if (event.propertyName.toLowerCase () == "value") {
console.log(event.srcElement.value);
}
}
//html 里面
<input type="text" oninput="onInput(event)" onpropertychange="onPropchange(event)" />
$('.wrap').bind('input propertychange', function(){
console.log('1111');
})