jamesct
09-06-2004, 08:18 AM
I use JS to set a select box. I set each option with a distinct name and value, and then set one of the options to 'selected'.
However when I post the form, the command
$_POST["my_var"]
in the preceeding page does not pick up any value. I.e. it's empty.
I have checked that the value is being set by the JS, it is. I have also checked that the variable names are the same on both pages.
Any clues?
Regards,
James
However when I post the form, the command
$_POST["my_var"]
in the preceeding page does not pick up any value. I.e. it's empty.
I have checked that the value is being set by the JS, it is. I have also checked that the variable names are the same on both pages.
Any clues?
Regards,
James