Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How can I select a field in listbox??


Message #1 by "yuji chen" <wk_yuji@h...> on Tue, 11 Jun 2002 10:49:22
Hi all :

    i currectly working on a  page that let user maintainence their own
data.  I build this page using jsp, it  work just fine when the jsp
building this page but I facing problem when let user update the data to
database, because I use a lot of list box. I can let user modify the list
box because  there is no input field for list box, so I came out with other
solution which I create an other list box in the bottom and user can choose
what  evey there want and click on the add button. And the javascript i
wrote will add this data to the list box that I will send this list box
data to database. 
The problem is I don't want user to click all the data  in the list box , I
want to use java script to  select all the data in the list box and then
summit. Is that posible??

Appreciate you help.

from 
yuji

  Return to Index