views:

94

answers:

3

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"&gt;
</script>
+2  A: 

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

Jeff
Okey. Thank you. I have sorted it. Many thanks..
Hari Gillala
+1  A: 

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).

Marek Grzenkowicz
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() {
Hari Gillala
A: 

I have used the following code:

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

/--my code
)};

Its working for IE and Firefox

Hari Gillala