Home

Languages
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

Forums
Web Site
Software
gbCodeLib

Personal
Webcam
Biography
Contact Me

GBIC >> Source Code >> JavaScript >> Snippet

Cancel form submission


when an event handler returns 'false' the event is cancelled.

< form onSubmit = "SubmitForm()" >
</ form

< script >
function SubmitForm() {
    return false ;
}