Thanks for the info. I actually had a problem with the code that I was calling from my javascript function that caused the OnSelectedIndex Change event to not fire correctly.
I ended up doing a workaround by having a button right next to my drop down box, setting the postback = false for the drop down box & then having the user press the button after they change the drop down box so the button could call the javascript. Thanks...
User Profile
Collapse
-
Select drop-down item to run an ASP.NET/javascript function?
I hope someone can help me. When a user selects a new item from a
drop down list on an ASP.NET form, I'd like a javascript function to execute.
How can I do this?
I'm running the following configuration:
VS2005 - using VB.NET
ASP.NET 2.0
IIS 6.0
Windows XP, SP2
I have the following .aspx code behind my ASP.NET page. When a user presses button "btnClearTaskRe sults"...
No activity results to display
Show More
Leave a comment: