Posted by Go Live on 01/21/08 19:56
HI,
I am trying to include textbox and dropdown in a single cell. The
things goes like this there is one radio button for textbox and one
radio button for dropdown. Now when the user click one radio button
texbox should appear in a <td> cell and when other radio button is
clicked dropdown should appear in the same cell<td> by removing the
textbox and viceversa.
The code goes like this:
<table ID="Table">
<tr>
<td></td>
<td><input type="radio" </td>
<td><label>Radio button for text Box</label></td>
<td width="10"></td>
<td><input type="radio" </td>
<td><label>Radio Button for Drop Down</label></td>
<td></td>
</tr>
<tr>
<td><label>Choose</label></td>
<td>
<input type="text" ID="txtKeyword"
NAME="txtKeyword">
</td>
</td>
<select name="dropdown" style="font-size:10px;">
<option value="1">AAAA</option>
<option value="2">BBBB</option>
<option value="3">CCCC</option>
</select>
</td>
</tr>
<tr>
<td><img src="Search"></td>
</tr>
</table>
Any suggestions or good examples will be very much appreciated.
Thanks
[Back to original message]
|