Iam having the following table structure.
HTML:
<table>
<tr>
<td>
<img id='imgScheduled' onclick='start();'/>
</td>
<td>
<div class='divStatus'>Scheduled</div>
</td>
</tr>
</table>
..Same table structure repeated
The above table is defined dynamically where in the img ids are also generated dynamically. I would like to change the divStatus value on the click of img which has some functionality i.e status needs to be changed to "inprogress' using jquery just like $("#imgid").closest something, am not sure.
imgelements have a predictable pattern?