I was having some problems with IE 8. The current demo site is not working in IE8. It works in IE 9 IE8 compatibility mode, but not in a real IE8.
There is an error on:
$(t).focus();
Which is around line 1356 or so.
The error is due to the element t being hidden or not displayed, apparently IE8 does not like when you try to focus on hidden elements.
It did not seem to be a terribly important line. I tried that line wrapping in a try-catch, which took care of the error, but the keyboard did not work at all. I tried commented out the line instead and then it started working.
I have no idea what this is supposed to be doing. I figured if it was important then best to let it run if it can so I wrapped in it in some checks to test if the browser was IE 8 or less, and if the element is actually visible, so the line should run except when it is currently causing the error.
Here is my current workaround.
//if the browser is ie and the version is less than 9 and the element is not visible skip this code
if (!($.browser.msie && parseInt($.browser.version, 10) < 9 ) && !$(t).is(":visible") ) {
$(t).focus();
}
I was having some problems with IE 8. The current demo site is not working in IE8. It works in IE 9 IE8 compatibility mode, but not in a real IE8.
There is an error on:
$(t).focus();
Which is around line 1356 or so.
The error is due to the element t being hidden or not displayed, apparently IE8 does not like when you try to focus on hidden elements.
It did not seem to be a terribly important line. I tried that line wrapping in a try-catch, which took care of the error, but the keyboard did not work at all. I tried commented out the line instead and then it started working.
I have no idea what this is supposed to be doing. I figured if it was important then best to let it run if it can so I wrapped in it in some checks to test if the browser was IE 8 or less, and if the element is actually visible, so the line should run except when it is currently causing the error.
Here is my current workaround.
//if the browser is ie and the version is less than 9 and the element is not visible skip this code$.browser.msie && parseInt($ .browser.version, 10) < 9 ) && !$(t).is(":visible") ) {
if (!(
$(t).focus();
}