Why wont IE fire on paste event?
问题 I need help figuring out why Internet Explorer won't fire my 'paste' event. I'm using IE 11. Here is my code: $(document).on('paste', '.pasteTarget', handlePaste); When trying this in IE, the function never gets called. It works in chrome. 回答1: Different browsers treat onpaste differently, or not at all. For IE 11, the latter seems to be the case. From MDN: Non-Standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not