Hello Everyone,
I have the following problem. I have an ASP page and I want to call a function called UpdateSelect(). When I change the items in the "Select1" list(ONCHANGE). I just want to call the updateSelect function and display the selected item on the screen.
Where am I suppose to put the function in the ASP page.???
Does the UpdateSelect() function make sense?
Here is the function:
< %
Function UpdateSelect(strSelection)
alert(strSelection)
End Function
% >
Here is the Select1 list
<SELECT ID="Select1" NAME="Select1" onchange=UpdateSelect(this.options[this.selectedIndex].value)>
Any help is apprecitated.
Thanks,
Sergio