EasyUI Forum
May 14, 2024, 10:08:42 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: easyui1.4 textbox ie bug  (Read 12257 times)
codewriter
Newbie
*
Posts: 9


View Profile Email
« on: March 24, 2015, 06:15:03 PM »

1. input any word to textbox
2.   focus this textbox
3. change any window  (alt+tab)
4.  return textbox window(alt+tab)
5.  textbox become empty
« Last Edit: March 29, 2015, 07:44:23 PM by codewriter » Logged
aljcn
Newbie
*
Posts: 15


View Profile Email
« Reply #1 on: March 30, 2015, 02:05:41 AM »

I have encountered this problem too. hope FOR HELP!
Logged
cescskye
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: March 31, 2015, 06:47:36 PM »

mark~~
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #3 on: March 31, 2015, 07:32:00 PM »

A possible way to solve this issue is to attach a 'keyup' event to the textbox. When the user press any keys, the textbox accepts the entered characters immediately.
Code:
$('#tt').textbox({
inputEvents: $.extend({}, $.fn.textbox.defaults.inputEvents, {
keyup: function(e){
var t = $(e.data.target);
t.textbox('setValue', t.textbox('getText'));
}
})
})
Logged
cescskye
Newbie
*
Posts: 2


View Profile Email
« Reply #4 on: April 01, 2015, 07:43:43 PM »

A possible way to solve this issue is to attach a 'keyup' event to the textbox. When the user press any keys, the textbox accepts the entered characters immediately.
Code:
$('#tt').textbox({
inputEvents: $.extend({}, $.fn.textbox.defaults.inputEvents, {
keyup: function(e){
var t = $(e.data.target);
t.textbox('setValue', t.textbox('getText'));
}
})
})
problem remain ~~
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #5 on: April 12, 2015, 07:59:15 PM »

Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.2-patch.zip.
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #6 on: April 20, 2015, 12:27:34 AM »

It works - THX
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!