File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Option under option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Option under option" Watch "Option under option" New topic
Author

Option under option

Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 222

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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Option under option
 
Similar Threads
Auto Populate Combo Box upon Radio Selection
Portal
Fetching values from database and populating it in drop down and text fields
Right click menu on Href.
How to update record in jsp