in reply to Changing the default button in a CGI perl script

Hi,
You can use JavaScript. The text box 'onKeyPress' event should call one javascript function that should determine whether keyCode==13(Enter key has been pressed). If keyCode is 13 then enables or disables the buttons using document.formName.buttonName.disabled=false/true.
  • Comment on Re: Changing the default button in a CGI perl script