Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-18-2012, 06:49 PM   PM User | #1
mlobrutto
New to the CF scene

 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mlobrutto is an unknown quantity at this point
$.getScript Won't work in IE

I cannot get this code to work in IE. It works fine in FF, Chrome, Opera, and Safari. Any suggestions???

Code:
<script language="javascript" type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

<script language="javascript" type="text/javascript">
<!--
	$(document).ready(function(){
		var isiPad = navigator.userAgent.match(/iPad/i) != null;
		var isiPod = navigator.userAgent.match(/iPod/i) != null;
		var isiPhone = navigator.userAgent.match(/iPhone/i) != null;
		if(isiPad||isiPod||isiPhone)
		{
			$.getScript("http://www.myvideocode.com/iphone/test_adplib.js");
			$.getScript("http://www.myvideocode.com/iphone/test.js");
		}
		else
		{
			$.getScript("http://www.myvideocode.com/client/steelbeach020812b/video-code_adplib.js");
			$.getScript("http://www.myvideocode.com/client/steelbeach020812b/video-code.js");
		}
	});	
-->
</script>
mlobrutto is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:34 AM.


Advertisement
Log in to turn off these ads.