Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation
Message
From
11/04/2002 13:25:32
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Validation
Miscellaneous
Thread ID:
00643848
Message ID:
00643848
Views:
37
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
Next
Reply
Map
View

Click here to load this message in the networking platform