Code: Select all
$statusMessage = '<form method="post" action="some.php">
<input type = "hidden" name ="variable1" value ="'.$variable1.'"' />
<input type = "hidden" name ="variable2" value ="'.$variable2.'"' />
<select name = "'.$variable1.$variable2" onChange = "this.form.submit();">
<option value = "option_1"> Option 1</option>
<option value = "option_2"> Option 2</option>
<option value = "option_3"> Option 3</option>
<option value = "option_4"> Option 4</option>
</form>';
Symptoms: In Mozilla this works great. With IE(both 6 and 7) the variable1 and variable 2 are passed along, however option_1(the 1st default option displayed) is always passed along except for the last one of my list. The last one of the list always passes along the correct the correct value.
So if I had two outputs A and B,and I selected Option2 for each of them...then A would send Option1 but B would send the selected Option2.