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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » PHP
Reply locked New topic
Author

How to use optgroup

Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 319

How to work with optgroup , to retrieve the selected option.
I want to insert the selected option in the database , how can i do that.

How to get the selected value and make a query to insert in the table in database.


http://www.mahtabalam.net , Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

The same way as any other select element. The use of optgroups does not change how a select functions.

Please continue in your original post.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use optgroup