You are here: Drop Down and textBox « HTML « IT news, forums, messages
Drop Down and textBox

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация