摘要: 在IE中,汉字输入法输入拼音仍可触发keyup事件,但有时候并不希望这样 var str = ''; $('#searchKey').on('keyup', function(e){ if ($(this).val() != str) { str = $(this).val(); if(((e.ke 阅读全文
posted @ 2018-06-13 21:50 likwin 阅读(493) 评论(0) 推荐(0) 编辑