Contents
Use disabled attribute in javascript and use cookies to maintain the state of the button to keep it disabled even after the page is refreshed.
unbind(“keydown”, disableF5); /* OR jQuery >= 1.7 */ $(document). off(“keydown”, disableF5); On a side note: This only disables the f5 button on the keyboard. To truly disable refresh you must use a server side script to check for page state changes.
When to enable or disable the Save button?
The Save button is also disabled when form is loaded because the Data Enabled property is set to ‘No’ per Step 2. If there is any keystroke and change in form then we want the Save button to be enable to click save. So we need to change the Enabled property = True when form is dirty under the Form Dirty Procedure.
But if they click the other button, I would like that button to disabled as well while enabling the other disabled button. I have been able to disable the button onclick, but I’m having trouble getting the other button to re-enable . Here are the two buttons that I have on the page.
1) When the page renders, the actionStatus mySaveStatus has not started, so the components in the “stop” facet are rendered. This means your “Save” button appears. 2) When the user clicks the “Save” button, the status of “mySaveStatus” is set to “start” until the ajax call is finished.
Is the Save button disabled in Adobe Acrobat Pro?
After the information is changed under the State and Zip fields, the Save button now is enabled to click to save new information. If I click Save button, the state CA and zip 93700 will be saved without showing any message. The Save button now become disabled because new information is saved.