EasyUI Forum
May 12, 2024, 08:33:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Call a function changing a textbox value  (Read 5091 times)
Marco
Newbie
*
Posts: 12


View Profile Email
« on: November 21, 2014, 03:01:11 PM »

Hi !
 Is it possible to call a function when J change the value of the textbox ?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: November 21, 2014, 06:57:31 PM »

You can listen to the 'onChange' event of textbox component.
Code:
$('#tt').textbox({
  onChange:function(){
    //...
  }
});
Logged
Marco
Newbie
*
Posts: 12


View Profile Email
« Reply #2 on: November 22, 2014, 01:02:41 PM »

Ok thanks for your help
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!