Author: xaeryan | Posted on: 7/30/2009 9:03:18 AM | Views : 659

 I have a textbox that I want to attach an "onchange" event to (via codebehind at some point, such as prerender).  But I want to make sure if there is an existing onchange event, I do not overwrite that one.
It seems that MyTextBox.Attributes.Add(...) simply overwrites the existing event.  I did find how to do this properly via JavaScript, here: http://v3.thewatchmakerproject.com/journal/168/javascript-the-dom-addeventlistener-and-attachevent
Is there any way to accomplish that, or even somehow call the JavaScript, such that I don't lose my previous onchange event?
 
 
...

Go to the complete details ...