23 Nov
2009
23 Nov
'09
12:28 a.m.
Jamie Holly wrote:
$("#{field_id}").prev('label') will give you the label Might have worked if the label were encased in <label> tags, but it's really ugly...like this
<tr> <td class="generalclass">labeltest</td> <div>field</div> </td> </tr> don't know why it was done that way. I tried prev("td"), prev("td.generalclass") and prev("tr") ... nada