<div class="easyui-window" style="width: 400px;height:200px;padding:20px"> <button class="easyui-linkbutton" onclick="showprogress()">Show Progress</button></div><script> function showprogress(){ var win = $.messager.progress({ title:'Please waiting', msg:'Loading data...' }); setTimeout(function(){ $.messager.progress('close'); },5000) }</script>
$.ajaxSetup({ async: false });