ligerDialog的使用
生活随笔
收集整理的這篇文章主要介紹了
ligerDialog的使用
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1.通過ViewBag來傳值。
? @if (ViewBag.ReturnMessage != null)
2.腳本代碼:
對(duì)話框設(shè)計(jì)與賦值問題。
<script type="text/javascript">$(function () {if (document.getElementById("dialog-BorrowInformation") != null) {$.ligerDialog.open({target: $("#dialog-BorrowInformation"),title: '溫馨提示:“您有借款未還清,是否確定不沖賬,繼續(xù)提交。',height: 380, width: 840,buttons: [{ text: '繼續(xù)提交', onclick: function (item, dialog) { $("#IsHintBorrowInformationCheck").val(true); $("#submitZD").click(); dialog.hide(); } },{ text: '取消', onclick: function (item, dialog) { dialog.hide(); } }],isResize: true });}if (document.getElementById("dialog-radioHintOfficialCardDeadlineMessage") != null) {$.ligerDialog.open({ target: $("#dialog-radioHintOfficialCardDeadlineMessage"), title: '警告', height: 200, width: 450, buttons: [{ text: '繼續(xù)提交', onclick: function (item, dialog) { $("#IsHintOfficialCardDeadline").val(true); $("#submitZD").click(); dialog.hide(); } }, { text: '取消', onclick: function (item, dialog) { dialog.hide(); } }], isResize: true });}}); </script>?3.動(dòng)態(tài)網(wǎng)頁的一些設(shè)計(jì)
@Html.Raw(@ViewBag.HintOfficialCardDeadlineMessage); @ViewContext.Writer.Write(rec.Agent);@ViewContext.Writer.Write(rec.Remark.Substring(0, 8) + "..");?
轉(zhuǎn)載于:https://www.cnblogs.com/jacketlin/p/5673419.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的ligerDialog的使用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux文件(区域)锁函数 -- op
- 下一篇: [BZOJ4530][Bjoi2014]