I am running on of my project on Internet Explorer 8 i.e. IE8 and i am getting the following errors. this project is successfully run on the Chrome and Mozilla as well as IE11 also but i want to use IE8. is there any way to solve the Errors..

- 33
- 3
- 13
-
2Mention the errors... – Swetha Sep 11 '14 at 09:09
-
*and* show the code :) – iCollect.it Ltd Sep 11 '14 at 09:09
-
@TrueBlueAussie: "And" – T.J. Crowder Sep 11 '14 at 09:10
-
this is the only error i m getting. – Vishnu Sep 11 '14 at 09:11
-
Is jQuery called before the scripts that need it? – Andy Sep 11 '14 at 09:14
-
i am getting the Error Jquery is undefined.. – Vishnu Sep 11 '14 at 09:14
-
@Vishnu: IE8 has a (rudimentary) debugger, so you can walk through your code to see where it's failing. – T.J. Crowder Sep 11 '14 at 09:15
-
Share the code and included jquery files.. – Swetha Sep 11 '14 at 09:19
2 Answers
What is used JQuery Version?
jQuery 2.x does not support Internet Explorer 6, 7, or 8.
Check the version of JQuery please.
Version Checking!
Check your html(index.html) file
<script type="text/javascript" charset="utf-8"
src="/lib/jquery/js/jquery-1.11.1.min.js"></script>
File name have version name like "jquery-1.11.1.min.js"
In this case, version is 1.X, then this version support IE 8.
If your script link(src) don't have version like "jqeury.js",
Open the file.
You can find the comment of version like below code.
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */

- 1,073
- 9
- 17
-
-
My JQuery version is 2.x so now what exactly i have to do for the working in IE8 – Vishnu Dec 19 '14 at 06:49
jQuery 2.0 dropped support for some browsers. See the post at
http://blog.jquery.com/2013/04/18/jquery-2-0-released/
No more support for IE 6/7/8: Remember that this can also affect IE9 and even IE10 if they are used in their “Compatibility View” modes that emulate older versions. To prevent these newer IE versions from slipping back into prehistoric modes, we suggest you always use an X-UA-Compatible tag or HTTP header. If you can use the HTTP header it is slightly better for performance because it avoids a potential browser parser restart.
Keep jQuery 1.9 if IE 6/7/8 are a concern.

- 746
- 10
- 19