expression in the parents() function to only include divs that have
the attribute class=formrow:
parents(div:eq(0))
Is this possible?
PS: Sorry, I'm relatively new to jQuery, so if there's a better way to
do this I'd like to hear it!
Thanks in advance,
rudgr
Swedbergwww.englishrules.comwww.learningjquery.com
On Sep 9, 2008, at 6:16 AM, rudgr wrote:
Hi,
I have the code below to add a highlight class to the parent div if an
input field gets focus
-
jQuery(this).parents(div:eq(0)).addClass('highlighted');
--
div class=formrow
Hi,
I'm relatively new to jquery and was wondering if there's a way to
display a div after x milliseconds?
Thanks in advance,
rudgr
ah great, thanks!
On Apr 7, 1:05 pm, Roncioso [EMAIL PROTECTED] wrote:
setTimeout($('#myDiv').show(),1000) ?
On 7 Apr, 11:47, rudgr [EMAIL PROTECTED] wrote:
Hi,
I'm relatively new to jquery and was wondering if there's a way to
display a div after x milliseconds?
Thanks
4 matches
Mail list logo