jQuery input event fired on placeholder in IE
问题 I have an input field with an input event bound to it (via jQuery). This event should be fired everytime the input value changes. I added a placeholder to tell the user what this input field is for. If the user clicks on this input field the input event should NOT be fired (the value actually doesn't change; just the placeholder disappears). It works fine in Firefox or Chrome but not in IE. How can I avoid this behavior? For better understanding my problem on jsfiddler 回答1: One way to guard