A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
pre-select in html:select
Joined: May 14, 2004
Dec 12, 2004 22:48:00
I need help on pre selecting items in html:select.
Thanks in advance
, SCBCD, OCP
When I see through the fog I see myself...
Joined: Jun 06, 2003
Dec 13, 2004 23:38:00
It's pretty straight. Just assign a value to the property, which you are going to use for the <html: select>. It'll be prepopulated.
Btw, for exact code and greater details, search the archive. It's one of the regularly asked questions.
Thanks and regards,
It is sorta covered in the
JavaRanch Style Guide
subject: pre-select in html:select
Tips on using this discussion software
Pull-down menus: How to scroll down to first pre-selected option
Setting a preselected value in a combo
Ajax and jsp as response
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015