How to Disable

Results 1 to 2 of 2

Thread: How to Disable

  1. #1
    Join Date
    Dec 1969

    Default How to Disable

    Hi All,<BR>How do I disable the Enter key from activating the form submission.<BR><BR>Thanks in Advance.

  2. #2
    jason Guest

    Default RE: How to Disable<BR><BR>onsubmit="retur n disallow()"<BR><BR>function disallow(e){<BR>if(document.all){<BR>if(window.eve nt.keycode==26){// may be wrong keycode<BR>return false;<BR>}<BR>elseif(document.layers){<BR>if(e.wh ich==26)<BR>return false<BR>}<BR>}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts