|
ng prob. -- HuJianJun --
Hi, The blow code only declare a function been callback when dataset onloading, not call it. I just don't quite understand the following javascript codes: MyAjax.dataset.onLoading=function(b) { var e=document.getElementById("loadingInfo"); e.style.visibility=b?"visible":"hidden"; } Well,what does the parameter "b" mean?where does it come from,and stands for what? It seems this simple sentence works quite good,how does it work?does it check the status (of "b") at intervals? Thanks for help! -- -------Wang E-------- (Well,gmail doesn't support html style signature,that's disappointing.) |