Jump to content

disable button


asmith

Recommended Posts

 

 

<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

Link to comment
https://forums.phpfreaks.com/topic/85383-disable-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.