EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Marco on November 21, 2014, 03:01:11 PM



Title: Call a function changing a textbox value
Post by: Marco on November 21, 2014, 03:01:11 PM
Hi !
 Is it possible to call a function when J change the value of the textbox ?


Title: Re: Call a function changing a textbox value
Post by: jarry on November 21, 2014, 06:57:31 PM
You can listen to the 'onChange' event of textbox component.
Code:
$('#tt').textbox({
  onChange:function(){
    //...
  }
});


Title: Re: Call a function changing a textbox value
Post by: Marco on November 22, 2014, 01:02:41 PM
Ok thanks for your help