aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Selecting multiple values without using Ctrl or shift Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Selecting multiple values without using Ctrl or shift" Watch "Selecting multiple values without using Ctrl or shift" New topic
Author

Selecting multiple values without using Ctrl or shift

Ravi Pat
Greenhorn

Joined: Oct 04, 2004
Posts: 15
Hello all:

I have a multiple vale selection box (not drop down) as follows:
.....
....
<html:select property="swbox" size="14" multiple="true">
<html ption value="B">B - By Quadrant Measurements</html ption></br>
<html ption value="C">C - Call In on Outage</html ption></br>
<html ption value="E">E - Event Log</html ption></br>
.....
.....

Is there a way I can select multiple values without using the Control or Shift button? I guess the other option I have is to use checkboxes instead.
Any ideas anyone?
Thanks in advance
- ravi
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
There is nothing you can really do, you might be able to do a JavaScript function to do it, but it probably would not run as smooth as you would like.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Selecting multiple values without using Ctrl or shift
 
Similar Threads
for loop in select struts tag
update html:options
storing values chosen from dropdown
Setting a preselected value in a combo
javascript issue in struts for onchange event