on text change of a text box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anudu
    New Member
    • Oct 2007
    • 31

    on text change of a text box

    I am developing a system with asp.net(c#) and javascripts. I want to call a javascript method when the textbox text is changed. I tried onkeypress event. it works successfully . but if the user copy and past a value in the text box, the method is not called.

    help me to solve this.
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Try the javascript onChange event. This event will fire when the user leaves the control (presses tab or clicks in another control with the mouse).

    Nathan

    Comment

    Working...