I have the following table structure;
<tr>
<th><label for="ctl00_bodyContent_username">username:</label></th>
<td class="field"><input name="ctl00$bodyContent$username" type="text" id="ctl00_bodyContent_username" /></td>
<td class="info">
<div class="message">what do you want to be known as?</div>
<div class="valid">username available</div>
<div class="invalid">this username is already taken</div>
</td>
</tr>
What I'm looking to achieve is when the textbox #ctl00_bodyContent_username has focus, te div .message is shown (default is display:none) in the adjacent table cell.