
js
aa292016616
sefwetwrwe
展开
-
js页面跳转方法
1. 在原来的窗体中直接跳转用 window.location.href="你要跳转到的页面地址"; 2. 在新窗体中打开页面用:window.open("你要跳转到的页面");window.open('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no,转载 2017-02-22 18:23:05 · 475 阅读 · 0 评论 -
jquery.form 异步提交表单
1.引入js jquery.form.min.js 2.实例 在前端页面里加上class=”required” 就能在提交表单是 进行验证<input name="amt" id="amt" type="number" htmlEscape="false" maxlength="50" class="required"/><span class="help-inline"><font co原创 2017-10-26 18:34:44 · 429 阅读 · 0 评论