Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 19, 2012 04:25 AM by asteranup
Dec 18, 2012 11:52 PM|LINK
I have a jQuery .Change event for a DropDownList that works fine when a user changes the value, however, it doesn't work when the value is set in the code behind. Is there a way I can trigger jQuery .Change event from the code behind?
Any other suggestions perhaps?
Thanks in advance
Dec 19, 2012 04:20 AM|LINK
Dec 19, 2012 04:25 AM|LINK
Why you wnat to do such complecated way? You can simply do like this- Put all the code in the change event inside a function and call this function from change event. And also from the place where you are assigning the value of the dropdown like the following
If you wnat to do this explicitely with jquery then you can use __doPostBack with RegisterStartupScript-