Please solve: onsubmit_html/css_WEB-ITnose of form in jsp
WBOYOriginal
2016-06-24 12:09:521149browse
<%@ page language="java" pageEncoding="gbk"%>
登录……系统
js/checkform.js为: function checkselect(object) { if (object.name.vale=="") { alert("用户名不能为空!");
return false; } else if (object.password.value=="") { alert("密码不能为空!")
return false; } else { return true; }
}
为什么不会有提示…………………………………………………………
回复讨论(解决方案)
language=" 试过了可以提示啊
if (object.name.vale=="") { alert("用户名不能为空!"); 这里少了个U
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn