[jQuery] Re: Basic newbie question - ''Object doesn't support this property or method

2008-06-18 Thread Josh Nathanson
$('span').addclass('red'); addClass has to be camel case - javascript is case-sensitive. -- Josh - Original Message - From: weegekid [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, June 18, 2008 7:48 AM Subject: [jQuery] Basic newbie question -

[jQuery] Re: A Newbie Question

2007-09-02 Thread Mark
Another common solution is to have an image or a div that you just show while loading and hide using the callback function... script type=text/JavaScript $(document).ready(function(){ $('#loadImg').show(); var fCallback = function(){ $('#loadImg').hide(); } $(#show).load(file.php,

[jQuery] Re: A Newbie Question

2007-09-01 Thread Eridius
What i would do is add a class with addClass() to the div that has the background-image of the animated loading gif and then on the load() function , set the callback function to remove that so that when it is dome loading it will remove the image. [EMAIL PROTECTED] wrote: Hello Friends,