如何在登录页面验证中放置Jquery效果 [英] How to put Jquery effects in login page validation

查看:64
本文介绍了如何在登录页面验证中放置Jquery效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在登录页面验证中使用Jquery效果代码。

ie,如果我输入错误的用户名和密码,那么文本框应该使用Jquery效果即shake

I need a code of Jquery effect in login page validation.
i.e., if i enter wrong username and password then the textbox should be use Jquery effect namely shake

推荐答案

有许多用于表单验证的 jQuery 插件。

了解 Google [ ^ ]回复我。



如果您在编码时遇到任何困难,请随时回到这里,提出另一个问题来描述这个场景。



各位会员很乐意为您提供帮助。 :)
There are many jQuery plugins for form validation.
See how Google[^] replies me.

If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario.

Members will be happy to help you then. :)


试试,

modfiy根据您的需要..





try like,
modfiy as per your needs..


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="jquery.js.js"></script>
    <script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <script type="text/javascript">


function ( ){

var iswrongcredential =
(function () { var iswrongcredential =


这篇关于如何在登录页面验证中放置Jquery效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆