I wonder if there are some javascript code for selecting all elements (values) in a select list
before submitting the form?
My problem is this:
I have a form with a text box, select list and buttons.
The user writes some input in the text box, and then clicks an "add" button.
The input then appears in the select list.
When the the user hits the submit button my intention is to send everything in the select
list to another page (save.asp) that deals with the information. However, save.asp can only
get hold of the element in the select list that the user has selected.
i could need som code like myForm.MySelectList.selectAllElements or something.
before submitting the form?
My problem is this:
I have a form with a text box, select list and buttons.
The user writes some input in the text box, and then clicks an "add" button.
The input then appears in the select list.
When the the user hits the submit button my intention is to send everything in the select
list to another page (save.asp) that deals with the information. However, save.asp can only
get hold of the element in the select list that the user has selected.
i could need som code like myForm.MySelectList.selectAllElements or something.