最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

jQuery實現(xiàn)表單步驟流程導(dǎo)航代碼分享

 更新時間:2015年08月28日 10:56:39   投稿:lijiao  
這篇文章主要介紹了jQuery實現(xiàn)表單步驟流程導(dǎo)航,代碼實現(xiàn)效果簡單精致,推薦給大家,有需要的小伙伴可以參考下。

本文實例講述了jQuery實現(xiàn)表單步驟流程導(dǎo)航。分享給大家供大家參考。具體如下:
jQuery表單步驟流程導(dǎo)航是一款多步驟進度,多個提交的實現(xiàn)一步一步填寫表單提交信息代碼,每次填寫完信息時都會提醒是否提交,如果想對信息進行再次修改,也可以進行返回操作,頁面效果簡潔大方,紅黑搭配很經(jīng)典,是一款非常實用的特效代碼,值得大家學(xué)習(xí)。
運行效果圖:-------------------查看效果 下載源碼-------------------

小提示:瀏覽器中如果不能正常運行,可以嘗試切換瀏覽模式。
為大家分享的jquery實現(xiàn)的彈出層登錄和全屏層注冊特效代碼如下

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery表單步驟流程導(dǎo)航</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
function one() {
 if (confirm("確定提交?")) {
 $("#one").hide();
 $("#two").show();
 $("#grxx").attr("class","current_prev");
 $("#zjxx").attr("class","current");
 }
}

function two() {
 if (confirm("確定提交?")) {
 $("#two").hide();
 $("#three").show();

 $("#grxx").attr("class","done");
 $("#zjxx").attr("class","current_prev");
 $("#qzxx").attr("class","current");
 }
}

function three() {
 if (confirm("確定提交?")) {
 $("#three").hide();
 $("#four").show();

 $("#grxx").attr("class","done");
 $("#zjxx").attr("class","done");
 $("#qzxx").attr("class","current_prev");
 $("#qzfs").attr("class","current");
 }
}

function reone() {
 if (confirm("確定返回?")) {
 $("#one").show();
 $("#two").hide();
 $("#grxx").attr("class","current");
 $("#zjxx").attr("class","");
 }
}
function retwo() {
 if (confirm("確定返回?")) {
 $("#three").hide();
 $("#two").show();
 $("#grxx").attr("class","current_prev");
 $("#zjxx").attr("class","current");
 $("#qzxx").attr("class","");
 }
}
function rethree() {
 if (confirm("確定返回?")) {
 $("#four").hide();
 $("#three").show();
 $("#grxx").attr("class","done");
 $("#zjxx").attr("class","current_prev");
 $("#qzxx").attr("class","current");
 $("#qzfs").attr("class","last");
 }
}
</script>

<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋體";}

.formbox{width:488px;margin:40px auto;}
.formcon{padding:10px 0;border:solid 1px #ddd}
.formcon table input{width:200px;}
.formcon table td{padding:5px;line-height:24px;}
/* flow_steps */
.flow_steps{height:23px;overflow:hidden;}
.flow_steps li{float:left;height:23px;padding:0 40px 0 30px;line-height:23px;text-align:center;background:url(img/barbg.png) no-repeat 100% 0 #E4E4E4;font-weight:bold;}
.flow_steps li.done{background-position:100% -46px;background-color:#FFEDA2;}
.flow_steps li.current_prev{background-position:100% -23px;background-color:#FFEDA2;}
.flow_steps li.current{color:#fff;background-color:#990D1B;}
.flow_steps li#qzfs.current,.flow_steps li.last{background-image:none;}
</style>

</head>
<body>

<div class="formbox">
 <div class="flow_steps">
 <ul>
 <li id="grxx" class="current">個人信息</li>
 <li id="zjxx" >證件信息</li>
 <li id="qzxx">簽注信息</li>
 <li id="qzfs" class="last">取證方式</li>
 </ul>
 </div>
 <div class="formcon">
 <div id="one">
 <table align="center">
 <tr>
  <td align="right" width="140px">戶口所在地:</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入戶口所在地" /></td>
 </tr>
 <tr>
  <td align="right">中文姓:</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入中文姓" /></td>
 </tr>
 <tr>
  <td align="right">中文名:</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入中文名" /></td>
 </tr>
 <tr>
  <td align="right">身份證號:</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入身份證號碼" /></td>
 </tr>
 <tr>
  <td></td>
  <td><button type="button" onclick="one()">提交</button></td>
 </tr>
 </table>
 </div>
 <div id="two" style="display:none">
 <table align="center">
 <tr>
  <td align="right" width="140px">通行證號</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入證件號碼" /></td>
 </tr>
 <tr>
  <td align="right">有效日期至</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入證件號碼" /></td>
 </tr>
 <tr>
  <td align="right">聯(lián)系電話</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸聯(lián)系電話,建議是手機號碼" /></td>
 </tr>
 <tr>
  <td></td> 
  <td><button type="button" onclick="two()">提交</button>&nbsp;&nbsp;&nbsp;&nbsp;<button type="button" onclick="reone()">上一步</button></td>
 </tr>
 </table>
 </div>
 <div id="three" style="display:none">
 <table align="center">
 <tr>
  <td align="right" width="140px">簽注類別</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入簽注類別" /></td>
 </tr>
 <tr>
  <td align="right">前往地</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入前往地" /></td>
 </tr>
 <tr>
  <td align="right">簽證種類</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入簽注種類" /></td>
 </tr>
 <tr>
  <td></td> 
  <td><button type="button" onclick="three()">提交</button>&nbsp;&nbsp;&nbsp;&nbsp;<button type="button" onclick="retwo()">上一步</button></td>
 </tr>
 </table>
 </div>
 <div id="four" style="display:none">
 <table align="center">
 <tr>
  <td align="right" width="140px">取證方式</td>
  <td><input class="pwdTrigger" type="text" placeholder="請輸入取證方式" /></td>
 </tr>
 <tr>
  <td></td> 
  <td><button type="button" onclick="">提交</button>&nbsp;&nbsp;&nbsp;&nbsp;<button type="button" onclick="rethree()">上一步</button></td>
 </tr>
 </table>
 </div>
 </div>
</div>
<div style="text-align:center;clear:both">
</div>
</body>
</html>

以上就是為大家分享的jQuery實現(xiàn)表單步驟流程導(dǎo)航代碼,希望大家可以喜歡。

相關(guān)文章

  • jQuery實現(xiàn)平滑滾動到指定錨點的方法

    jQuery實現(xiàn)平滑滾動到指定錨點的方法

    這篇文章主要介紹了jQuery實現(xiàn)平滑滾動到指定錨點的方法,實例分析了jQuery根據(jù)錨點定位滾動的技巧,非常具有實用價值,需要的朋友可以參考下
    2015-03-03
  • JQuery入門——事件切換之toggle()方法應(yīng)用介紹

    JQuery入門——事件切換之toggle()方法應(yīng)用介紹

    在toggle()方法中,可以依次調(diào)用N個指定的函數(shù),直到最后一個函數(shù),然后重復(fù)對這個函數(shù)輪番調(diào)用,在函數(shù)之間切換調(diào)用的時候相當(dāng)?shù)姆奖?接下來將會詳細介紹toggle()方法的使用,感興趣的你可不要錯過了啊
    2013-02-02
  • jQuery獲取select選中的option的value值實現(xiàn)方法

    jQuery獲取select選中的option的value值實現(xiàn)方法

    下面小編就為大家?guī)硪黄猨Query獲取select選中的option的value值實現(xiàn)方法。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2016-08-08
  • jQuery快速高效制作網(wǎng)頁交互特效

    jQuery快速高效制作網(wǎng)頁交互特效

    本文主要介紹了使用jQuery快速高效制作網(wǎng)頁交互特效的方法,具有很好的參考價值,下面跟著小編一起來看下吧
    2017-02-02
  • jQuery中scrollLeft()方法用法實例

    jQuery中scrollLeft()方法用法實例

    這篇文章主要介紹了jQuery中scrollLeft()方法用法,實例分析了scrollLeft()方法的功能、定義及獲取或設(shè)置匹配元素相對滾動條左側(cè)的偏移(offset)量時的使用技巧,需要的朋友可以參考下
    2015-01-01
  • jquery validate和jquery form 插件組合實現(xiàn)驗證表單后AJAX提交

    jquery validate和jquery form 插件組合實現(xiàn)驗證表單后AJAX提交

    在ajax流行的時代,好像很少能看見傳統(tǒng)的同步提交表單方式了,是啊我們當(dāng)然要用更加給力的AJAX來實現(xiàn)異步無刷新提交表單,好了開始今天的jQuery之旅吧,今天我們來利用jquery.validate和jquery.form 插件組合實現(xiàn)驗證表單后AJAX提交 ,需要的朋友可以參考下
    2015-08-08
  • jQuery鼠標經(jīng)過方形圖片切換成圓邊效果代碼分享

    jQuery鼠標經(jīng)過方形圖片切換成圓邊效果代碼分享

    這篇文章主要介紹了jQuery鼠標經(jīng)過方形圖片切換成圓邊特效,圖片可以自行替換,推薦給大家,有需要的小伙伴可以參考下。
    2015-08-08
  • 淺析jQuery對select操作小結(jié)(遍歷option,操作option)

    淺析jQuery對select操作小結(jié)(遍歷option,操作option)

    本篇文章是關(guān)于jQuery對select的操作進行了總結(jié)介紹,需要的朋友可以參考下
    2013-07-07
  • 使用jQuery清空file文件域的解決方案

    使用jQuery清空file文件域的解決方案

    對一個文件域(input type=file)使用了驗證后,我們總會希望把文件域中的值給清空了,在IE中,由于安全設(shè)置的原因,是不允許更改文件域的值的,接下來為大家介紹一下解決方法
    2013-04-04
  • jQuery實現(xiàn)可兼容IE6的遮罩功能詳解

    jQuery實現(xiàn)可兼容IE6的遮罩功能詳解

    這篇文章主要介紹了jQuery實現(xiàn)可兼容IE6的遮罩功能,詳細分析了jQuery遮罩層的布局、樣式及功能實現(xiàn)技巧,需要的朋友可以參考下
    2017-09-09

最新評論

罗城| 阿鲁科尔沁旗| 墨玉县| 平陆县| 祥云县| 三亚市| 文安县| 岳阳市| 玉屏| 九龙县| 巫山县| 永丰县| 三都| 太和县| 南开区| 邯郸市| 赤水市| 常山县| 宁远县| 芦山县| 古浪县| 宣恩县| 太康县| 天柱县| 绥江县| 宣恩县| 平果县| 庆云县| 罗田县| 通州区| 长子县| 莎车县| 清水河县| 安新县| 葫芦岛市| 同江市| 于都县| 孝感市| 张家界市| 那曲县| 灵宝市|