onSubmit是表单事件之一 一共有六种事件:窗口事件,表单事件,键盘事件,鼠标事 件,多媒体事件,其他事件 如:<form onSubmit="return chKForm()"> 带上return返 回false页面才不会跳转