LilProgrammerGirl
Programmer
Hi All,
I have a drop down list that I would like to have an OnChange Event where once it changes, I want the value to be stored in a session variable.
Here's my Drop Down:
Then I am just trying to test the passing of the value to my function to see if I can at least do this and I get the error.
Here's my function:
Any ideas why I am getting an Object Expected Error?
Thanks,
HaileyMarie
I have a drop down list that I would like to have an OnChange Event where once it changes, I want the value to be stored in a session variable.
Here's my Drop Down:
Code:
<select name="PassFailSubSection" onchange="selectChanged(this.value);">
<option value=" "></option>
<option value="P">Pass</option>
<option value="C">Coach</option>
<option value="F">Fail</option>
</select>
Then I am just trying to test the passing of the value to my function to see if I can at least do this and I get the error.
Here's my function:
Code:
function selectChanged(value) {
alert(value);
return false;
}
Any ideas why I am getting an Object Expected Error?
Thanks,
HaileyMarie