一剑ghost  

2012年7月13日

摘要: $(document).keydown(function (e) { var doPrevent; // for IE && Firefox var varkey = (e.keyCode) || (e.which) || (e.charCode); if (varkey == 8) { var d = e.srcElement || e.target; if (d.tagName.toUpperCase() == 'INPUT' || d.tagName.toUpperCase() == 'TEXTAREA') { doPrevent = d. 阅读全文
posted @ 2012-07-13 21:02 一剑ghost 阅读(301) 评论(0) 推荐(0)