Hari Gillala
Hari Gillala

Reputation: 11926

Is my jQuery CDN url correct?

Could anyone confirm the the CDN src link for jQuery?

I am using the following:

<script type="text/javascript" 
        src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script>

Upvotes: 3

Views: 1381

Answers (3)

Hari Gillala
Hari Gillala

Reputation: 11926

I have used the following code:

<script type="text/javascript" 
        src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.4.2");
google.setOnLoadCallback(function() 
{

/--my code
)};

Its working for IE and Firefox

Upvotes: -1

Marek Grzenkowicz
Marek Grzenkowicz

Reputation: 17383

The question is very vague but it is related to SharePoint and CDN-hosted copy of jQuery, so I'll try to guess - does a page using jQuery from Microsoft CDN work incorrectly in Internet Explorer? If yes, check this question and consider using your own copy of jQuery (I had this problem and I found no solution).

Upvotes: 1

Jeff
Jeff

Reputation: 21902

Yes, the URL and your script tag are correct. By the way, jQuery 1.4.3 was recently released.

Upvotes: 2

Related Questions