M
MDW
Hey all
I'm kind of in a bind here.
I've got a select box on a page that starts out like this
<select size=10 multiple name="AllAccts"></select
No options.
I use Javascript and an input box to allow the user to populate this with options. This works, and JavaScript can even read the length of that box (and prevent form submission of the length is 0)
However, when I post this page, that form element doesn't come through. Every other element does. Here's what I've found so far
If I change the initial page to this:
<select size=10 multiple name="AllAccts"><option value=""></option></select
then the element does post. However, it posts an empty string, no matter how many other options I add after that.
I'm not sure if this is a JavaScript problem or an ASP problem, or what, but it's really frustrating. I hope someone can help.
I'm kind of in a bind here.
I've got a select box on a page that starts out like this
<select size=10 multiple name="AllAccts"></select
No options.
I use Javascript and an input box to allow the user to populate this with options. This works, and JavaScript can even read the length of that box (and prevent form submission of the length is 0)
However, when I post this page, that form element doesn't come through. Every other element does. Here's what I've found so far
If I change the initial page to this:
<select size=10 multiple name="AllAccts"><option value=""></option></select
then the element does post. However, it posts an empty string, no matter how many other options I add after that.
I'm not sure if this is a JavaScript problem or an ASP problem, or what, but it's really frustrating. I hope someone can help.