*
The moose likes Struts and the fly likes select a <s:select> item on pressing a key 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 » Frameworks » Struts
Bookmark "select a <s:select> item on pressing a key" Watch "select a <s:select> item on pressing a key" New topic
Author

select a <s:select> item on pressing a key

Sunitha Arun
Greenhorn

Joined: Dec 28, 2011
Posts: 8
Hi all,
i am having a jsp page with an <s:select>.
<s:select> is populated from db. when i press a key, for example 's' in keyboard, i want the first item starting with letter 's' to be selected in <s:select>

Can you please suggest a solution

Regards,
Sunitha
 
Don't get me started about those stupid light bulbs.
 
subject: select a <s:select> item on pressing a key
 
Similar Threads
IE/Firefox javascript html list issue
Struts 2 and Hibernate
Xhtml tag
selecting a value in dropdown
spaces while populating using s:iterator