asmith Posted January 10, 2008 Share Posted January 10, 2008 <form action="none.php" method="post" onSubmit="this.submit1.disabled = true;this.submit2.disabled = true;return true;"> the code above disables the 2 buttons one page , when they are clicked . i want to now how can i set them , if one clicked ,also all other buttons on page disables too. thanks Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 11, 2008 Share Posted January 11, 2008 <input type="button" value="Button Value" onclick="this.disabled = true"> or <input type="submit" value="Submit" onclick="this.disabled = true"> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.