Show Posts
|
Pages: 1 [2] 3 4 ... 29
|
16
|
General Category / EasyUI for jQuery / Latest Chrome Causing Ajax Form Issues
|
on: June 09, 2020, 02:59:11 AM
|
Have an application that has been using easyui for last 5 years and all of a sudden, with the latest chrome for windows updates we are getting problems with form submissions.
Everything works fine on chrome osx and firefox and safari, but latest 83 version of chrome appears to be broken.
When a form is submitted and the onSubmit() returns true as it should, no request is actually sent from the browser to the server, and then the onSuccess() event fires, even though no request was send and therefore nothing was received.
As stated, this has been working without issue for the last 5 years and only seems to be related to chrome windows, problem is all of our customers are using chrome windows.
|
|
|
19
|
General Category / EasyUI for jQuery / Re: rotating the combo arrow when dropped down
|
on: May 21, 2020, 03:22:17 AM
|
Oops solved it myself: a.textbox-icon.combo-arrow.open { transform: rotate(180deg); background-color: pink; } var pan = me.combo('panel'); pan.panel({ openAnimation : 'slide', closeAnimation : 'slide', onOpen: function(){ me.combo('getIcon', 0).addClass('open'); }, onClose: function(){ me.combo('getIcon', 0).removeClass('open'); } });
|
|
|
21
|
General Category / EasyUI for jQuery / cloning a control to a new control.
|
on: May 21, 2020, 02:16:43 AM
|
$.fn.multibox = $.fn.combo; I want to create a new object that inherits all of the properties, methods etc of the combo, and then modify it adding new methods etc. I do not want these changes to be reflected in the original combo object. I believe that the above will create an alias to combo, and any changes to multibox will also appy to combo ??
|
|
|
23
|
General Category / EasyUI for jQuery / combo always invalid when using setValue()
|
on: May 21, 2020, 01:39:22 AM
|
I am using the combo to generate a list of checkboxes, and then using the setValue() method to set the combos selected values, all of that works OK. But when I validate() or isValid() it always returns false even though the field has a value and meets the criteria of > 1 char: $('#ccx').combo({ validType : 'minLength[1]', required : true, ... lots more code... });
> $('#ccx').combo('getValue') < "HAND-ASSEMBLY,MARKETING,PRESSING"
> $('#ccx').combo('isValid') < false
|
|
|
24
|
General Category / EasyUI for jQuery / find element within panel as a options variable.
|
on: May 20, 2020, 09:38:15 PM
|
I am trying to find a hidden input in the panel and assign it as one of the options vars: $('#clsfilt').panel({ _input : $(this).find('input:hidden').first(), values : [], cls : 'jcfpan', collapsed : true, collapsible : true, title : 'Multi-Select', onCollapse : function(){}, onExpand : function(){ console.log('xxx'); } }) But this of course does not work, how can I do this ? Thanks
|
|
|
26
|
General Category / General Discussion / extend linkbutton to prevent double click.
|
on: November 13, 2019, 11:43:47 PM
|
Right now, each time I use a linkbutton, or use the message dialog, I have to call a function that disables the button, sets a timeout and then enables the button again after say 1 second, and I have hundreds and hundreds of link buttons in my application.
Now I would like to extend the linkbutton onClick() event so that whenever any linkbutton is pressed, it will be disabled, but I do NOT want to break the onclick() event which is already being used hundreds of times throughout the application.
So somehow I need to extend the linkbutton, such that when it is clicked, it calls a oneclick(self) function and then calls the onClick() event.
Can this be done ??
|
|
|
|