Forum Moderators: phranque
if a selection was made from the first pull-down menu, do the following..
[code]
else if a selection was made from the second pull-down menu, do the following..
[code]
My script works with just one pull-down menu, but I don't quite know how to code the second one in. Right now each pull-down menu is in it's own form. When a selection is made, the onChange event is triggered which should reload the page with the relevant information that was made.
I was think of adding something like "index.asp?page=1" to the first form's action parameter and "index.asp?page=2" to the second form's action parameter, but then how do I script the logic so that I can direct the flow of my code?
here's my train of thought in pseudo-code...
if a selection was made from the first pull-down menu (if page ==1?)
[do this code]
if a selection was made from the second pull-down menu (if page ==2?)
[do this code]