欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

表單提交前顯示確認(rèn)窗口

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作的開發(fā),更需要了解用戶,從用戶角度來建設(shè)網(wǎng)站,獲得較好的用戶體驗(yàn)。成都創(chuàng)新互聯(lián)多年互聯(lián)網(wǎng)經(jīng)驗(yàn),見的多,溝通容易、能幫助客戶提出的運(yùn)營建議。作為成都一家網(wǎng)絡(luò)公司,打造的就是網(wǎng)站建設(shè)產(chǎn)品直銷的概念。選擇成都創(chuàng)新互聯(lián),不只是建站,我們把建站作為產(chǎn)品,不斷的更新、完善,讓每位來訪用戶感受到浩方產(chǎn)品的價(jià)值服務(wù)。

<link class="include" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="http://static.naughtycolt.com/js/jquery.validate.min.js"></script>

<!-- 系統(tǒng)公告發(fā)布刪除查詢頁面-->

<link class="include" rel="stylesheet" type="text/css" />

<div  class="row">

<div  id = "gm_query_title">系統(tǒng)公告</div>

<div   id = "gm_query">

<div class="col-md-6 col-md-offset-3">

<form class="form-inline" role="form" action="" method="post" id="send_form" >

{% csrf_token %}

<input type="text" class="form-control" name="radio" id="radio" placeholder="系統(tǒng)公告內(nèi)容" ><select class="form-control" name = "server_name" id="server_name">

{% if server_dict %}

{% for k in server_dict %}

<option>` k`</option>

{% endfor %}

{% endif %}

</select>

</form>

<!--按鈕寫在form外防止 form自動(dòng)提交   提交時(shí)  submit() id 要寫 對應(yīng)表單的id -->

<button id="send">發(fā)布</button><button id="query">查詢</button>

</div>

<div  id = "gm_query_list">

<table class="table table-condensed">

{% if radios %}

   <th class="success" >ID</th>

<th class="warning" >`show_server_name`</th>

{% for r in radios %}

<tr>

<td class="success" >` forloop`.`counter `</td>

<td class="warning" >` r `</td>

</tr>

{% endfor %}

{% endif %}

</table>

</div>

<!--彈出確認(rèn)窗口-->

<div id="radio_confirm" title="系統(tǒng)公告">  

<table class="table table-condensed">

<tr>

<td  class="info" >服務(wù)器名</td>

<td  class="danger">操作</td>

<td  class="warning">內(nèi)容</td>

</tr>

<tr>

<td  id= "td_server" class="success" ></td>

<td  id="td_op" class="danger"></td>      

<td  id="td_content" class="warning"></td>

</tr>                

</table>

</div>

</div>

<script>

$( "#send,#query" ).button({ icons: { primary: "ui-icon-search"} });

$( "#radio_confirm" ).dialog({

 autoOpen: false,

     show: {

       effect: "blind",

       duration: 1000

     },

     hide: {

       effect: "explode",

       duration: 1000

     },

    // height:200,

 modal: true,

 buttons: {

      "確定": function() {

$("#radio_confirm").dialog("close");

$('#send_form').submit();

          },

       "取消": function() {

$("#radio_confirm").dialog("close");

$("#send_form")[0].reset();

 }

 }

});

$( "#send" ).click(function() {

 $("#send_form").validate({

rules: {

radio: "required"

},

messages: {

radio: "公告內(nèi)容不能為空"

}

});

 $("#td_op").html("發(fā)布");

 $("#td_server").html($("#server_name").val());

 $("#td_content").html($("#radio").val());

 $("#radio_confirm").dialog( "open" );

});

$( "#query" ).click(function() {

$("#send_form").submit();

});

</script>  

網(wǎng)站名稱:表單提交前顯示確認(rèn)窗口
地址分享:http://chinadenli.net/article36/gosepg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站靜態(tài)網(wǎng)站外貿(mào)網(wǎng)站建設(shè)網(wǎng)站建設(shè)品牌網(wǎng)站建設(shè)企業(yè)網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)