A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Option under option
Joined: Mar 28, 2012
May 24, 2013 11:22:09
How can i implement options under option in html.
I`m making a form which have four option , so i used select tag with four option.
But the second and third option have options in themselves.
So how can i do that .
Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer
Author and ninkuma
Joined: Jan 10, 2002
May 24, 2013 12:12:23
You can't. The HTML select element does not support nested options. You might want to use optgroups.
As this has nothing to do with PHP, it's been moved to the HTML forum.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: Option under option
Auto Populate Combo Box upon Radio Selection
Fetching values from database and populating it in drop down and text fields
Right click menu on Href.
How to update record in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014