EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 09:43:06 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
$.messager.progress show/run simultaneously
Pages: [
1
]
« previous
next »
Print
Author
Topic: $.messager.progress show/run simultaneously (Read 6616 times)
iskandarkbr
Newbie
Posts: 36
$.messager.progress show/run simultaneously
«
on:
November 25, 2017, 01:18:28 AM »
how to make $.messager.progress show simultan before the next line
$.messager.progress({
title:'Proses',
msg:'Searching...'
}).dialog('dialog').css('z-index', 9999999);
t.tree('update', {
target: nodes[0].target,
iconCls: 'icon-loading'
});
for(var i=0; i<nodes.length; i++){
var node = nodes
;
$(node.target).removeClass('tree-node-search');
$(node.target).hide();
}
"$.messager.progress" always shows after code for{...} 've executed, why?
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: $.messager.progress show/run simultaneously
«
Reply #1 on:
November 25, 2017, 05:53:35 AM »
All the message dialogs work in async mode. You can't wait the dialog to be closed before continuing to next statements.
Logged
iskandarkbr
Newbie
Posts: 36
Re: $.messager.progress show/run simultaneously
«
Reply #2 on:
November 25, 2017, 10:13:28 PM »
well, can we make it async:false, just like ajax?
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: $.messager.progress show/run simultaneously
«
Reply #3 on:
November 25, 2017, 10:52:13 PM »
No, but you can define the 'onClose' event handler to continue to run your code after closing the message dialog.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...