Prevent form submit on web

Insert the code below in the form's onkeypress event
JavaScript


if (event.keyCode==13) {return false;}

Written by Frank Joseph Brefere III

Posted by fbrefere001 on Sunday April 29, 2007