| Author |
combo box
|
yarlagadda rajesh
Greenhorn
Joined: Feb 23, 2009
Posts: 7
|
|
|
how to get a combo box in jsp which allows editing as well as selecting with in a single box..?
|
regards,
yarlagadda rajesh
|
 |
Saifuddin Merchant
Ranch Hand
Joined: Feb 08, 2009
Posts: 576
|
|
JSP can't offer you a view component that is not already part of the standard HTML.
To get a combo box you'll have to use some Java Script tricks or try getting a JSF component which supports such features.
A couple of Jquery plugins that could help you are --> Flexbox and Combo Box.
|
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
|
 |
yarlagadda rajesh
Greenhorn
Joined: Feb 23, 2009
Posts: 7
|
|
thank you for your reply
but i want to place my result set values into combo box the link what you are providing contains static values declared in an array of java script
but my requirement is to place the result set values into combo box
|
 |
Dhruva Mistry
Ranch Hand
Joined: Nov 21, 2008
Posts: 67
|
|
yarlagadda rajesh wrote:thank you for your reply
but i want to place my result set values into combo box the link what you are providing contains static values declared in an array of java script
but my requirement is to place the result set values into combo box
well, in jsp page, you can put HTML code for combo box like:
hoping to be helpful to you
|
Dhruva
|
 |
Saifuddin Merchant
Ranch Hand
Joined: Feb 08, 2009
Posts: 576
|
|
dhruva mistry wrote:
well, in jsp page, you can put HTML code for combo box like:
<form name = "combo">
<select name = "combobox" onFocus=""> //if any javascript function you need to call
Umm ...This would give a drop down select box and not a combo box.
Yes you can combine this technique with any of the Java Script libraries that turn a simple select box to a combo box.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
Repeat after me: an HTML <select> is not a "combo box".
Please read this for more information.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Dhruva Mistry
Ranch Hand
Joined: Nov 21, 2008
Posts: 67
|
|
Bear Bibeault wrote:Repeat after me: an HTML <select> is not a "combo box".
Please read this for more information.
oops
thanks for teaching me this thing
|
 |
 |
|
|
subject: combo box
|
|
|