EasyUI Forum
September 14, 2025, 03:48:00 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: problem using onblur on easyui-combobox  (Read 13471 times)
sky_proj
Newbie
*
Posts: 24


View Profile
« on: June 18, 2015, 07:45:41 AM »

I have problem, this code doesn't work on easyui 1.4.2, but work on 1.3.2, whats wrong with my code..?
$(function(){
      var tb = $('#addfaktur1_bukti').combobox('textbox');
      tb.bind('blur',function(e){
         var deptpjx   =$('#addfaktur1_dept').combobox('getText');
         var gdgpjx   =$("#addfaktur1_kdgd").combobox("getText");      
         $('#addfaktur1_kodeitem').combobox({
            onBeforeLoad: function(param){
               param.isi = 'kodeitem';
               param.gdgpj  = gdgpjx;
               param.deptpj = deptpjx;
            },
            onSelect: function(rec){
            },
            delay:500,
            mode:'remote',
            url:'tranFunc.php',
            valueField:'text',//id aslinya
            textField:'text',
            panelWidth: 350,
            panelHeight: '200', //bisa 'auto'
            formatter: FormatKdsup
         });         
      });
});
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: June 18, 2015, 11:55:15 PM »

The 'blur' event fires successfully. Please refer to this example http://jsfiddle.net/ucqvrcn1/
Logged
sky_proj
Newbie
*
Posts: 24


View Profile
« Reply #2 on: June 20, 2015, 09:37:51 PM »

Ok thanks
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!