(1)先说jquery, 使用 jQuery库的话,只需要同时绑定 oninput 和 onpropertychange两个事件就可以了,示例代码:
$(
'#username'
).bind(
'inputpropertychange'
,
function
(){
$(
'