aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » PHP
Reply locked New topic
Author

How to use optgroup

Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 170

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.


Mahtab Alam (OCJP )
Blogs : alamsql.blogspot.in , alammahtab.blogspot.in
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

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
 
Similar Threads
modify this code to require select instead of a checkbox
javascript for popup on selected item in dropdown
doubt regarding dropdown list
How to get selected option with select tag?
Dropdown Selected