You can use a CSS selector. just add .formrow to the selector you
already have:
jQuery(this).parents(div.formrow:eq(0)).addClass('highlighted');
http://docs.jquery.com/Selectors
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 9, 2008, at 6:16 AM,
Thanks!
On Sep 9, 2:28 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
You can use a CSS selector. just add .formrow to the selector you
already have:
jQuery(this).parents(div.formrow:eq(0)).addClass('highlighted');
http://docs.jquery.com/Selectors
--Karl
Karl
2 matches
Mail list logo