middletree said:
I have a select box set to multiple. When the user hits the submit button, I
want to make sure that all entries in that select box are highlighted. How
can I do that? Can I put some code in the onSubmit event? If so, can someone
help me with the syntax?
I must not understand what you're asking for.
If all of the options are always supposed to be selected, why not
just create them as selected in the HTML? Why use a selection box
at all, for that matter? If the options are constant, why can't
the server-side code simply know what the options are, so you don't
have to send them?