日期:2014-05-17 浏览次数:20451 次
<script type="text/javascript" src="../Scripts/jquery.validate.js" charset="UTF8"></script>
<script type="text/javascript" src="../Scripts/additional-methods.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#form1").validate({
rules: {
txtName: {
required: true
},
txtPassword: {
required: true,
minlength: 4
},
PwdConfirm: {
required: true,
minlength: 4,
equalTo: "#txtPassword"
},
txtDepart: {
required: true
},
txtTel: {
isMobile: true
},
txtMoney: {
required: true,
&n