Click to See Complete Forum and Search --> : multiple option


raphael
02-11-2003, 12:58 PM
I have a SELECT in a Form .. but it is not a multiple type, but I need to get all options puted in this select, so, I used this options to set

formEdit.dbox1.options.multiple = true;

It's work, but the problem is the follow:

Is strange, but is true

If I put a alert('blablabla') after ...options.multiple = true .. I can get all options, whithout the alert .. not work.

AdamBrill
02-11-2003, 05:08 PM
Could you post your code? It is a lot easier to find the problem when you can look at the code. ;)

Anjuna
02-11-2003, 05:42 PM
Wouldn't it just be simpler to use the Multiple property directly in the Select-tag?

<select multiple>
.....
</select>