| View previous topic :: View next topic |
| Author |
Message |
elektron

Joined: 04 Jul 2005 Posts: 10 Location: Belem, PA, Amazonia, Brazil
|
Posted: Wed Aug 13, 2008 4:57 pm Post subject: optgroup in a combofield |
|
|
I'd like to group some options inside a combofield. In pure html, I can do something like this:
| Code: |
<select id="myselect">
<optgroup label="North America">
<option id="USA">United States</option>
<option id="CAN">Canada</option>
</optgroup>
<optgroup label="South America">
<option id="BRA">Brazil</option>
<option id="VEN">Venezuela</option>
</optgroup>
</select>
|
_________________ MARCELO ANDRADE
Linux User #221105
Belem-Para-Amazonia-Brazil |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
 Blocked registrations / posts: 5801 / 0
|