If there is <input type=image> here, then the form will be submitted after directly pressing this image. If OnSubmit is available, this function will be executed first, and if false is returned, the form will not be submitted! Copy the code