We've been using jQuery served by Google for almost a year, on a site that gets about 5 million pageviews a month, with no problems. Is your page using https by any chance?
On May 22, 3:58 pm, intrader <intra...@aol.com> wrote: > I am having a problem when loading jSquey from the Google CDN as > follows: <script src="http://ajax.googleapis.com/ajax/libs/jquery/ > 1.3.2/jquery.min.js"></script><!-- does not work -->. > I have verified that the URL is correct and ir used in IE, the library > is downloaded. > I have used in in a site that does not require proxy, and it works > fine. > Otherwise the code > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>jQuery AOP Test</title> > <link rel="stylesheet" type="text/css" media="screen" > href="test.css" /> > <script > src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ > jquery.min.js"></script><!-- does not work --> > <!-- <script src="jquery-1.3.2.js"></script> --><!-- works --> > <script> > if(typeof(jQuery)!="undefined"){ > alert('jQuery available'); > }else{ > alert('jQuery not available yet'); > } > </script> > <script src="../src/aop.js"></script> > <script src="test.core.js"></script> > <script> > function Init(){ > alert('Init starting'); > > jQuery.aop.after({target:document,method:'getElementById'},function > (){alert('Advice for getElementById called');}); > var a=document.getElementById('tblError'); > } > </script> > </head> > <body onload='Init();'> > <script> > $(document).ready(function() { > alert('Document is ready'); > }); > </script> > <div id='tblError'><p>my error table</p></div> > </body> > </html> > reports "jQuery not availale yet" and the rest is history as aop.js > and the code needs jQuery to be loaded > > If I use <script src="jquery-1.3.2.js"></script> --><!-- works --> > locally it works fine. > > So the question is qhen is jQuery available? I am running in IR8. I > have finddled with all the security settings to no avail > > In Firefox, it just works. > > Thanks for your help > WHat is going