alertify

    1熱度

    1回答

    我最近抓到Alertify庫的副本,但無法獲得prompt的工作。 我的應用程序是使用Bootstrap的.NET MVC。 這是我的我的HTML(除去大部分的選項標籤的能見度)的剪斷: <div class="row"> <div class="col-md-3"> Model </div> <div class="col-md-9"> <s

    1熱度

    1回答

    我們可以在alertify.dialog()實現中引用外部HTML文件。目前我正在使用下面的代碼,它使用html代碼來構建我的對話框。 alertify.myAlert || alertify.dialog('myAlert',function factory(){ return { main:function(content){ this.setC

    1熱度

    1回答

    我試圖使用alertifyjs(https://alertifyjs.org/)庫。 在代碼預覽網站(如codepen或在此處的stackoverflow)中測試警報,警報正常工作。 然而,當我在我的網站上使用完全相同的代碼與codepreview的只是代碼,我得到一個錯誤在我的控制檯 Uncaught TypeError: Cannot read property 'appendChild' o

    1熱度

    1回答

    所以我有幾行代碼: $('td').click(function (e) { var test = "...."; var test2 = "...."; var test3 = "...."; SuppressWarning(test, test2, test3); }); function SuppressWarning(test, test2,

    1熱度

    1回答

    我正在嘗試製作一個彈出框,確認是否要刪除文檔。如果我嘗試: if(alertify.confirm("Delete this?')) { this.store.findRecord('document', docId, {backgroundReload: false}).then((doc) => { doc.destroyRecord(); alertify.su

    0熱度

    2回答

    每次按下按鈕時,都會有一個隨機提醒窗口彈出窗口。警告彈出窗口是我使用的而不是JavaScript Alert,只是爲了獲得更好的設計。 Alertify library 這裏是當前形勢的截圖: 我想將事件分配給OK按鈕。當我在谷歌瀏覽器中使用「檢查元素」功能時,我看到這個綠色的確定按鈕有一個名爲「alertify-ok」的標識,所以我想在按下此按鈕時分配一個事件。 我一直在努力,這部分在腳本部件添

    -1熱度

    2回答

    任何人都可以教我如何獲得一行數據的id然後傳遞到delete.php。我不知道如何做到這一點,即時通訊非常新的.. tnx很多。 while($row = mysqli_fetch_assoc($result)) { echo $row['id']; echo "   "; echo $row['name']; echo "

    1熱度

    1回答

    我正在使用jQuery alertify提示http://alertifyjs.com/prompt.html 有沒有什麼辦法讓文本框強制直接定義屬性? 感謝

    0熱度

    1回答

    如何更改按鈕標籤在alertify - v0.3.11 我使用下面的代碼 alertify.confirm("Are you sure you want to cancel this order?", function (e) { if (e) { document.forms.SFOrder.action=<cfoutput>'#self#=#xfa.cancel

    0熱度

    1回答

    我想,當有人試圖從頁面導航使用alertify確認框。但在路線的willTransition行動,alertify非常異步的,餘燼不會等待確認。無論您點擊什麼,該頁面都已被導航。 willTransition(transition) { alertify.confirm('Confirm', 'Are you sure you want to navigate?', function(e