For this i wrote a java script function, my problem is how to cal that
java script function in txtDoJ's "OnTextChanged Event ",
You need to add an
attribute of
client side onchange
from server side.
Try:
txtDOJ.Attributes.Add("onchange","javascript:MyJSMethodWhereINeedToChange()");
Doing this would introduce the client side event of text change.
OR
Alternatively, you can use the
HTML input control. In that, directly
onchange
in html designer would trigger the JS event. In order to trigger server textchange event, you would need to use
onserverchange
event.