jquery之validate外掛
阿新 • • 發佈:2019-01-25
<form class="cont_forms cmxform" id="commentForm" method="get" action="">
<div class="cont_img_back_"> <img src="po.jpg" alt="" /> </div>
<div class="cont_form_login">
<a href="#" onclick="ocultar_login_sign_up()" ><i class="material-icons"></i></a>
<h2>登入</h2>
<div class="user">
<input id="username" name="username" type="text" placeholder="使用者名稱" />
</div>
<div class="pwd">
<input id="password" name="password" type="password" placeholder="密碼" />
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing"></use>
</svg>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing1"></use>
</svg>
</div>
<button class="btn_login" onclick="cambiar_login()">登入</button>
</div>
<div class="cont_form_login_fast">
<a href="#" onclick="ocultar_login_sign_up()" ><i class="material-icons"></i></a>
<h2>簡訊登入</h2>
<input id="phone" name="phone" type="text" placeholder="手機號" />
<input type="text" placeholder="驗證碼">
<input type="button" id="check_send" value="獲取驗證碼" onclick="settime(this)" />
<button class="btn_login" onclick="cambiar_login_fast()">登入</button>
</div>
<div class="cont_form_sign_up"> <a href="#" onclick="ocultar_login_sign_up()"><i class="material-icons"></i></a>
<h2>註冊</h2>
<div class="phone">
<input name="phone" id="phone" type="text" placeholder="手機號" />
</div>
<div class="phone">
<input type="text" placeholder="簡訊驗證碼" />
<input onclick="settime(this)" type="button" class="sign_up_msg" value="獲取驗證碼">
</div>
<div class="pwd">
<input name="password" id="password" type="password" placeholder="密碼" />
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing"></use>
</svg>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing1"></use>
</svg>
</div>
<button class="btn_sign_up" onclick="cambiar_sign_up()">註冊</button>
</div>
</form>
<div class="cont_img_back_"> <img src="po.jpg" alt="" /> </div>
<div class="cont_form_login">
<a href="#" onclick="ocultar_login_sign_up()" ><i class="material-icons"></i></a>
<h2>登入</h2>
<div class="user">
<input id="username" name="username" type="text" placeholder="使用者名稱" />
</div>
<div class="pwd">
<input id="password" name="password" type="password" placeholder="密碼" />
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing"></use>
</svg>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing1"></use>
</svg>
</div>
<button class="btn_login" onclick="cambiar_login()">登入</button>
</div>
<div class="cont_form_login_fast">
<a href="#" onclick="ocultar_login_sign_up()" ><i class="material-icons"></i></a>
<h2>簡訊登入</h2>
<input id="phone" name="phone" type="text" placeholder="手機號" />
<input type="text" placeholder="驗證碼">
<input type="button" id="check_send" value="獲取驗證碼" onclick="settime(this)" />
<button class="btn_login" onclick="cambiar_login_fast()">登入</button>
</div>
<div class="cont_form_sign_up"> <a href="#" onclick="ocultar_login_sign_up()"><i class="material-icons"></i></a>
<h2>註冊</h2>
<div class="phone">
<input name="phone" id="phone" type="text" placeholder="手機號" />
</div>
<div class="phone">
<input type="text" placeholder="簡訊驗證碼" />
<input onclick="settime(this)" type="button" class="sign_up_msg" value="獲取驗證碼">
</div>
<div class="pwd">
<input name="password" id="password" type="password" placeholder="密碼" />
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing"></use>
</svg>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yanjing1"></use>
</svg>
</div>
<button class="btn_sign_up" onclick="cambiar_sign_up()">註冊</button>
</div>
</form>