如何处理未捕获的TypeError:$(...)。对话框在MVC中的.cshtml中添加模型对话框时不是一个函数

时间:2017-01-01 13:43:18

标签: javascript jquery asp.net-mvc modal-dialog

我想在我的基于MVC的项目中添加this dialog popup。当我将其添加到我的代码中时,它会在我检查时显示以下错误--->控制台(浏览器控制台)

Uncaught TypeError: $(...).dialog is not a function  

(anonymous function)    

jQuery.event.dispatch   @   jquery-1.11.1.js:4641

elemData.handle @   jquery-1.11.1.js:4309

非常感谢你。

0 个答案:

没有答案