摘要: onbeforepaste事件用法 onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"onbeforepaste 意思是在用户执行粘贴动作之前。clipboa 阅读全文
posted @ 2016-04-21 22:23 来自潘大大 阅读(576) 评论(0) 推荐(0) 编辑