I would expect FIREBUG to break in the sprocInfo() function - after 1 second - but it never does...
What am I doing wrong??
Code:function sprocClick(sender) { if (g_blnInSproc) { alert("Do not click button twice!"); } else { g_blnInSproc = true; var strCT = sender.currentTarget; var wesBtn = $(strCT); var strId = wesBtn.closest('.acs-ddreflector').attr("id"); var acsSproc = wesBtn.attr("acssproc"); ctrlWebService("acssproc=" + acsSproc, "", "", strCT); var t = setTimeout("sprocInfo(" + strId + ")", 1000); } } function sprocInfo(strId) { if (g_blnInSproc) { $("#" + strId + " .acs-sproc-info").not(".acs-edit-view-hidden").html('<img src="Images/ajax-loader.gif" />Processing now...'); } }




Reply With Quote