Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

My jquery code works with Chrome, Firefox, > IE8, but it seems that jquery and jquery ui aren't loaded on IE8.

Javascript is enabled.

I use <meta http-equiv="X-UA-Compatible" content="IE=7,IE=8" />, 'cause I had some issues on IE9

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=8" />
<link href="css/my.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script>
<link href="css/jquery-ui-timepicker-addon.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
         $(function(){
         }); // Sorry, really it's so and not only }
</script>
</head>

Any suggestion? What I should check?

** EDIT **

By changing

<meta http-equiv="X-UA-Compatible" content="IE=7,IE=8" />

to

<meta http-equiv="X-UA-Compatible" content="IE=8" />

resolves most of the issues on IE8.

The only issue still remains is tied to pop up:

when there is a button which triggers a pop up, clicking on pop up "OK" doesn't trigger the corresponding action (the button is inside an a tag).

share|improve this question
2  
Shouldn't it be $(function(){ //code here }); or (function($){})(jQuery);? – defaultNINJA Jul 19 at 19:29
1  
"aren't loaded on IE8" - why aren't they loaded? Is there some errors in the Javascript console? – Steven V Jul 19 at 19:30
don't forget to accept the correct answer by clicking on the check mark at the top-left of the answer – Chilpol Jul 19 at 19:36
1  
so.... is this still an issue? did fixing the typo fix the problem? Looking at your code, i see no reason that it wouldn't work in IE8. – Kevin B Jul 19 at 19:59
1  
Also you can debug in IE8 by pressing f12, check How to use F12 Developer Tools to Debug your Webpages, if needed. – Sheikh Heera Jul 19 at 20:12
show 10 more commentsadd comment (requires an account with 50 reputation)

This question has an open bounty worth +50 reputation from Cricket ending in 4 days.

The current answer(s) are out-of-date and require revision given recent changes.

1 Answer

Did you try this?

<meta http-equiv="X-UA-Compatible" content="IE=8,IE=EDGE" />
share|improve this answer
What's the meaning of IE=EDGE? – Cricket yesterday
add comment (requires an account with 50 reputation)

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.