I'm trying to style some cells of a jquery-ui date picker based on application logic. I need to be able to scan through a table and select cells that contain a specified string of html. Here's an example table:
<table class="ui-datepicker-calendar">
<thead>
<tr>
<th class="ui-datepicker-week-end"><span title="Sunday">Su</span></th>
...
</tr>
</thead>
<tbody><tr>
<td class="ui-datepicker-week-end ui-datepicker-other-month "> 1 </td>
...
</tr>
</tbody>
</table>
How would I, say, scan through the table and select the cell containing "1" so that I could style it? I'd appreciate any help.