[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-09 Thread Fred P
A little more specific: You're using jQuery.noConflict() which allows you to use the variable jQuery jQuery(document).ready( function() { jQuery(#sliding_cart).css({ display: none}); }); then later in your doc, you're using $

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-09 Thread Richard D. Worth
On Fri, May 9, 2008 at 10:21 AM, Fred P [EMAIL PROTECTED] wrote: A little more specific: You're using jQuery.noConflict() which allows you to use the variable jQuery Pardon me for being a little pedantic: jQuery.noConflict does not allow you to use the variable jQuery. The jQuery variable

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread [EMAIL PROTECTED]
Hi, Kent. I'm a beginner myself, so I'm replying to you in the hope that one of this group's more-experienced gurus will pick up! It looks to me like you've bunged jQuery in the middle of a bunch of other javascript (some of which was actually meant to work with jQuery; it won't do too well

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread Richard D. Worth
Line 135: jQuery.noConflict(); This turns off the $ alias in case you're using jQuery with another library that wants it. Simply use jQuery in place of each $. Or, if you don't need it, remove the noConflict call. - Richard On Thu, May 8, 2008 at 8:11 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread Ryura
cherry austin - good idea, but not quite :) Kenthumphrey, You've declared jQuery.noConflict(); . This reverts $ back to its previous value, in this case undefined. Either remove jQuery.noConflict() or replace $(document).read(function(){}); with jQuery(document).ready(function($){}); On May 8,

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread Byron
You are using jQuery.noConflict() which unbinds the jquery object from the $ namespace so jQuery('a') still works on your site just $('a') does not from a cursory glace i cant see any reason for using the noConflict function, remove that and your code will work. On May 9, 12:11 pm, [EMAIL