hehe, permissions would have been my second choice. My coding mantra: If in doubt, check permissions!
On Nov 28, 4:10 am, Stephen <[EMAIL PROTECTED]> wrote: > Hello, > It looks like I had a very peculiar IIS permission problem just for > jquery.js. Very weird. I fixed the permissions on that file and the > file could be accessed again. > > --Stephen > > On Nov 27, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > My gut feeling is that this is a caching issue on the browser that is > > failing. > > > Try clearing the cache. > > > On Nov 27, 3:36 pm, Stephen <[EMAIL PROTECTED]> wrote: > > > > Ok, I have to examine the specifics of my computer set up. I tried > > > the following code on two different machines with similar setups > > > (Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked). > > > > ----------START Test HTML file--------- > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > > > <html> > > > <head> > > > <title>Test</title> > > > <script type="text/javascript" src="jquery.js"></script> > > > <script type="text/javascript" src="test.js"></script> > > > </head> > > > > <body> > > > > </body> > > > </html> > > > -----------------END---------------- > > > > ----------START test.js ----------- > > > $(document).ready( function() {}); > > > > ------- END ---------- > > > > On the first machine, it gave me the "$ is not defined" message. On > > > the second machine, it works. Based on Suni's remarks, I will look at > > > the first machine more closely. > > > > I appreciate everyone throwing out ideas for me to examine. > > > > --Stephen > > > > On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote: > > > > > There has to be some other problem. Are you absolutely sure that > > > > jquery.js gets loaded? Any chance the link pointing to jquery.js is > > > > wrong? > > > > > I always use $(document).ready in other files and there haven't been > > > > any problems with it. > > > > > Please post full HTML and JS of a simplified example if the problem > > > > persists. > > > > > -- > > > > Suni