I have the same issue as well with JQuery 1.4.2 and Jquery UI 1.8.4 on its tab controls.
By removing the tabs section I no longer get the error.
Changing Jquery to 1.4.1 removes this error message for me.
The complete code to duplicate is - in my case this happens with Jquery 1.4.2 + Jqueryui 1.8.4
- <script language="javascript" type="text/javascript">
- $(function () {
- $("#tabs").tabs();
- });
- </script>
- <div id="tabs">
- <ul>
- <li>
- <a href="#tabs-1">Tab 1</a>
- </li>
- </ul>
- <div id="tabs-1">
-
- </div>
- </div>
Update -
After some experiment - I found out that this line of code I have causes such error - Jquery1.4.2 + Jquery ui 1.8.4 by themselves dont cause the error in IE8. But adding this line for the reason specified does cause the error.
By using Jquery 1.4.1 OR not using tabs OR removing this line, any of the 3 will solve the issue.
- /*
- * override the scrollTo functio because ValidationSummary always jumps to top of page
- */
- window.scrollTo = function () { return true; };