<asp:Button>
var uxSaveButton = "span#SaveButton>input"; var uxStatusLabel = "span#StatusLabel>span"; $(document).ready(function() { $(uxSaveButton).click(uxSaveButton_Click); }); function uxSaveButton_Click() { $(uxStatusLabel).html("Please wait..."); document.forms[0].submit(); window.setTimeout("disableButton('" + window.event.srcElement.id + "')", 0); } function disableButton(buttonID) { document.getElementById(buttonID).disabled = true; }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.