[development] Drupal way of doing onchange

Jeff Greenberg jeff at ayendesigns.com
Mon Nov 23 00:23:04 UTC 2009


Jamie Holly wrote:

> That isn't even valid - having the <div> not inside a <td> or <th>. 
> That could lead to problems, but you might want to try:
>
> $("#{field_id}").parent().prev('.generalclass');
>
Yeah, it's pretty ugly...but that worked!  Thanks, Jamie.


More information about the development mailing list