e.which doesn’t work in IE try e.keyCode, also you probably want to use keydown() instead of keypress() if you are targeting IE.
See http://unixpapa.com/js/key.html for more information.
More Related Contents:
- Check if user is using IE
- How can I prevent the backspace key from navigating back?
- Access denied to jQuery script on IE
- Dynamically loading css stylesheet doesn’t work on IE
- Jquery: change event to input file on IE
- What are techniques to get around the IE file download security rules?
- window.resize event firing in Internet Explorer
- jQuery change event on not firing in IE
- How can I detect browser type using jQuery?
- Detect fullscreen mode
- JQuery Ajax post parameters sometimes not sent on IE
- Problem with jQuery.ajax with ‘delete’ method in ie
- Enabling Save button on JQ Grid with InlineEditing and CellEdit
- Clone a file input element in Javascript
- getSelection() not working in IE
- IE10/11 Ajax XHR error – SCRIPT7002: XMLHttpRequest: Network Error 0x2ef3
- SCRIPT1014: Invalid character
- “Permission denied” with Internet Explorer and jQuery
- Javascript “window.open” code won’t work in Internet Explorer 7 or 8
- Showing Placeholder text for password field in IE
- Why won’t .filter() work in Internet Explorer 8?
- Javascript compare 2 arrays and create a new array based on the order
- What does this statement means in javascript? [closed]
- Loading cross-domain endpoint with AJAX
- Changing the selected option of an HTML Select element
- jQuery: Why use document.ready if external JS at bottom of page?
- css transition doesn’t work if element start hidden
- Using jQuery to know when @font-face fonts are loaded?
- setInterval not working properly on Chrome
- Navigate through list using arrow keys? (JavaScript/JQ)