摘要:
1、示例说明:1、显示出来是汉字(管理员,商家),type属性的值是英文(admin,seller)Done 阅读全文
摘要:
阅读全文
摘要:
1、Done 阅读全文
摘要:
1、src="js/formValidator.js" 是相对路径src="/HuiLife/js/jquery-2.1.1.min.js"是绝对路径2、window.location.href = 'seller/seller.jsp';是相对路径window.location.href = '/... 阅读全文
摘要:
1、ajaxForm作用:(1)预加载js事件到form(2)提交action前js验证表单(3)提交action后,结果由js处理,不自动跳转要求:示例:2、$.ajax请求结果是json数据:response的json$.ajax({ url : url, ... 阅读全文