M
middletree
I have an issue that may or may not be appropriate here, as it has to do
with client-side code. Does MS have a better forum than this one for this?
(Microsoft forum would be best. I don't have access to Usenet here at work)
Here's the problem:
Yesterday, I posted a dilemma I am facing, and got an answer, but wasn't
able to try it till today, and it doesn't work. To review:
Select box on the left contains all employees. Select box on right is empty
when the page loads. Arrow button in the middle allows you to select an
employee from the left, and it appears in the right box when the arrow
button is clicked. You can do this more than once. This all works fine.
Of course, I want it to be able to pass the values in the right box on to
the next page when I click the submit button. However, nothing gets passed.
However, when I add a name or two to the right box, and then manually select
the name(s), it does get passed to the next page. But it isn't practical to
ask someone to essentially select the names twice.
When I posted this yesterday on the Macromedia forum, I received advice to
add this code to the submit button:
onclick="selectAllOptions(document.frm.SelectedEmp)"
(where the form name is frm, and the right box is named "SelectedEmp")
Like I said in my first paragraph, it doesn't work. I suspect that it is
related to the fact that in the form tag, I have an onSubmit item, telling
it to go through the Javascript code I have for validation.
Anyone know if this could affect this. let me know. If anyone has helpful
advice, please let me know. I can't believe no one has ever done this
before. I have seen it countless times. I think.
with client-side code. Does MS have a better forum than this one for this?
(Microsoft forum would be best. I don't have access to Usenet here at work)
Here's the problem:
Yesterday, I posted a dilemma I am facing, and got an answer, but wasn't
able to try it till today, and it doesn't work. To review:
Select box on the left contains all employees. Select box on right is empty
when the page loads. Arrow button in the middle allows you to select an
employee from the left, and it appears in the right box when the arrow
button is clicked. You can do this more than once. This all works fine.
Of course, I want it to be able to pass the values in the right box on to
the next page when I click the submit button. However, nothing gets passed.
However, when I add a name or two to the right box, and then manually select
the name(s), it does get passed to the next page. But it isn't practical to
ask someone to essentially select the names twice.
When I posted this yesterday on the Macromedia forum, I received advice to
add this code to the submit button:
onclick="selectAllOptions(document.frm.SelectedEmp)"
(where the form name is frm, and the right box is named "SelectedEmp")
Like I said in my first paragraph, it doesn't work. I suspect that it is
related to the fact that in the form tag, I have an onSubmit item, telling
it to go through the Javascript code I have for validation.
Anyone know if this could affect this. let me know. If anyone has helpful
advice, please let me know. I can't believe no one has ever done this
before. I have seen it countless times. I think.