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 .
Mahtab Alam (OCJP )
Blogs : alamsql.blogspot.in , alammahtab.blogspot.in
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
I agree. Here's the link:
subject: Option under option
Auto Populate Combo Box upon Radio Selection
How to update record in jsp
Right click menu on Href.
Fetching values from database and populating it in drop down and text fields
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014