How to detect textbox change event from javascript

后端 未结 4 1301
轮回少年
轮回少年 2020-12-11 07:11

I have a textbox asp.net server control. I am modifying the value of textbox from javascript i want to detect when the textbox text is changed. I tried onchange event which

4条回答
  •  Happy的楠姐
    2020-12-11 07:26

    If you could use jQuery, it would be something like this

    $('#id_of_text_area').change(function(){
        //do something
    });
    

提交回复
热议问题