When using ajax, I trigger an OnTextChangedEvent
. Before this event occurs, there is a Javascript function that validates the input field and displays text based on its validity. However, once the Ajax is executed, it resets any changes made by the Javascript in the following sequence:
Javascript triggers!
Text changes are displayed
Ajax triggers!
Text changes are reset
The Ajax partial autopostback is enclosed within an update panel. Does anyone have ideas on how to prevent the reset of changes made by the Javascript? Any insights would be appreciated. I will update with code as I can throughout the day. Thank you in advance.