I'm trying to write my first jquery function using it's rules...it's
hard getting started.
I want to write a function that is ready at all times for any div's
(or perhaps spans's instead) that when they appear they will fade
away about ten second later. I'll attach a class to the span called
'notify'...like this...
<span class='notify'>Updated</span>
These are appearing via an ajax call already, so they don't appear
when the page originally loads...only after an ajax call has been
executed.
The best I've been able to get so far...no, this doesn't work...I'm
hoping somebody can help me move forward with this (my head is
spinning here):
$(document).ready
(
function ()
{
$('span.notify').fadeOut('slow')
}
);
I don't care if it simply fades out the text or the entire span...or
perhaps even innerHTML's the text to an (there's another idea)...
Help! ;)
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/