[Solved] How turn on and off a disable button [closed]


You will need to use JavaScript. My example uses jQuery.
The other examples cited are a little more complicated, so I made this for you.

// find the elements
var $form = $('form');
var $buttons = $form.find('input[type=button]');

// event logic
$buttons.click(function(e) {
  $buttons.attr('disabled', false);
  $(this).attr('disabled', true);
});

Put this in the onload or DomReady handler on your page. Check out the fiddle if you want:
http://jsfiddle.net/G5e48/

solved How turn on and off a disable button [closed]