发表于: 2016-11-14 23:44:25
0 2017
今天完成的事:修改了任务8的表单验证和CSS样式及任务7的样式,结束了任务7,8
明天计划的事:看看新加的任务
遇到的问题:
1,加了表单验证后,提示:Error: fnPtr is not a function,去掉form的name="signUp"后,错误消失;然后改为name="sign"后也没报错,原因不懂。
2,<th><input type="checkbox" name="edit" ng-model="all">姓名</td>
<td ><input type="checkbox" name="edit" class="home-main-td" ng-checked="all" value="$index" ng-model="x.logic"><span ng-bind="x.name" ng-click=edit()></span></td>
设置的padding:0,在style中也显示的是0,但th有个padding-top和padding-bottom,没找到原因
3,输入为m~n位的数字可用^\[0~9]{m,n}$,但不知道为什么^\[\d]{m,n}$会报错
收获:学了正则的语法和基础知识
评论