這是我迄今爲止通過使用Ajax嘗試的。問題在於我恢復了警覺(「出錯了!」)。我找不到解決方案。 的index.php <?php
require_once 'core/init.php';
include 'includes/head.php';
include 'includes/navigation.php' ;
include 'includes/he
我試圖在打開詳細信息時實現引導模式窗口。模態窗口在ajax調用中打開。問題是,我只能打開一次。它會打開整個模板,但它不應該與第二次嘗試過程中出現了錯誤: Uncaught error: modal is not a function 然後我得到這個錯誤,無法打開模態窗口了。 的容器的主視圖: <div id="data-container">
@Html.Action("PartialD
相當好奇的問題:我的模態完美工作,直到將包含它的模板與CreateView關聯!因此,例如如果我將BrandCreateView中的template_name更改爲new_brand_form1.html,new_brand_form2.html將在模式中完美加載。但就目前而言,當我點擊觸發模式的按鈕時,就可以使用這個按鈕。 views.py: class BrandCreateView(Succ
我有一個非常奇怪的錯誤。每當我點擊我的完整日曆上的事件時,應該會顯示一個模式,除非它在打開之前凍結整個頁面。 frozen modal 在上面的鏈接 ,在頂部的細灰線是模態。 Bootstrap Modal popping up but has a "tinted" page and can't interact 我嘗試以下解決方案,但它似乎並沒有把我的情況不同。任何人都可以提出修正/遇到過類似的