ASP.NET MVC 4 Web,引用js,使用时提示xx is not a function

jquery-form.js和icheck.min.js这两个文件引用在head中,使用时会报错,把他们放到后面就没问题了。但是我想用bootstrap的模态框,bootstrap的文件在何处引用都会报错modal is not a function。
单单html拿出来,没问题。
项目中是在母板页中引用文件的,但是不管在母板页还是内容页中modal(),都会报错

2个回答

说不上为什么。我把这段注释就行了
@*@Scripts.Render("~/bundles/jquery")*@

两者之间发生的冲突,将重复的js文件删除即可

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
[ASP.NET MVC 4] ASP.NET MVC 4 and the Web API (英文版)
☆ 资源说明:☆ [Apress] ASP.NET MVC 4 and the Web API (英文版) [Apress] ASP.NET MVC 4 and the Web API Building a REST Service from Start to Finish (E-Book) ☆ 出版信息:☆ [作者信息] Jamie Kurtz [出版机构] Apress [出版日期] 2013年01月30日 [图书页数] 152页 [图书语言] 英语 [图书格式] PDF 格式
asp.net mvc 4 and the web api
asp.net mvc 4 and the web api 英文版
ASP.NET MVC 4 Web 编程
ASP.NET MVC 4 Web 编程,是一门学习asp.net mvc 入门的好书籍。
ASP.NET MVC 4 Web编程
《ASP.NET MVC 4 Web编程》介绍了微软最新的ASP.NETMVC4框架,包括如何使用ASP.NETMVC4框架构建Web应用程序,ASP.NETMVC4框架的运行原理,如何在真实开发场景中使用ASP.NETMVC4框架新特性来解决不同的需求,如何使用HTML、JavaScript、EntityFramework以及其他Web相关的技术。同时,分享了许多实际项目开发的最佳实践经验,包括如何使用jQery、jQuery、EntityFramework、ASP.NETWebAPI进行应用程序开发。而且还深入阐述了许多高级知识点,如网站SEO、性能优化、日志、缓存等。
ASP.NET MVC 4 and the Web API
ASP.NET MVC 4 and the Web API.
window.form1在asp.net使用时提示出错
window.form1提示form1没有定义
.net 里面调用easyui提示"xx is not a function"
[img=https://img-bbs.csdn.net/upload/201608/24/1472001659_160489.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201608/24/1472001667_437209.png][/img]rnrn相同的代码在PHP里面是没问题的rn开发环境net4.5 MVC
ASP.NET MVC 4 Recipes: A Problem-Solution Approach
ASP.NET MVC 4 Recipes: A Problem-Solution Approach 632 pages Publisher: Apress; 1 edition (February 20, 2013) Language: English ISBN-10: 1430247738 ISBN-13: 978-1430247739 What you’ll learn Inside find recipes that cover:•automating testing and deployment of your application using Visual Studio 2012 and Team Foundation Server •designing and developing your application for Internet scale •deploying to the cloud, working with Big Data and adding resiliency to your application’s components •migrating a project from ASP.NET web forms to the MVC 4 including recipes for converting DataGrids, Forms, Web Parts, Master Pages and navigation controls •Client side data binding and templating techniques using Web API, Knockout.js and jQuery •using the Web API to design web services that can be consumed by mobile devices and tablets running Android, iOS, and Windows 8
asp.net mvc 4 web编程 源代码
asp.net mvc 4 web编程书籍源代码,以飨读者。
asp.net mvc 4 web api 上传文件
asp.net mvc 4 web api 上传文件
Developing ASP.NET MVC 4 Web Applications
Developing ASP.NET MVC 4 Web Applications
Count使用时提示错误
表score (ID,UserID,PaperID,PaperName,Score)rnrn SELECT rn PaperName ,rn UserID ,rn Score ,rn RANK() OVER ( PARTITION BY PaperName ORDER BY Score DESC ) AS 名次rn rnFROM Score where PaperName='测试1' rnrn可以查询出测试1的考生名次,但是我希望加一列参加考试1的总人数:rn SELECT rn count(PaperName),rn PaperName ,rn UserID ,rn Score ,rn RANK() OVER ( PARTITION BY PaperName ORDER BY Score DESC ) AS 名次rn rnFROM Score where PaperName='测试1' rnrn加了count(PaperName) 出现提示消息 8120,级别 16,状态 1,第 1 行rn选择列表中的列 'Score.PaperName' 无效,因为该列没有包含在聚合函数或 GROUP BY 子句中。rn请大虾帮我找找原因
ASP.NET MVC引用数据库
ASP.NET MVC引用数据库 项目有两种框架,B/S架构和C/S架构,ASP.NET属于B/S架构, ASP.NET 是一种用来创建网站还有网页的开发框架,可以使用Html、Css和JavaScript。 ASP.NET有三种开发模式: 1、Web Forms 2、MVC 3、Web API MVC是ASP.NET的三种开发模式其中一种。 MVC由三层组成: 1、Model(模型)。 2、V...
MVC引用js的方式
-
mvc 引用js
在页面最下面使用如下语句引入 @section scripts{     @Scripts.Render("~/Content/javascripts/test.js") } 或者 @section Scripts{     <script>         function test() {         }     </script> }...
《ASP.NET MVC 4高级编程(第4版)》《ASP.NET MVC 4 Web编程》 中文版 超清晰PDF
《ASP.NET MVC 4高级编程(第4版)》《ASP.NET MVC 4 Web编程》 对于想要学习ASP.NET MVC 编程的开发人员来说,这两本书无疑是最佳选择。
el.addListener提示el.addListener is not a function
var textareaEls=Ext.query("#driverFormView textarea");rnvar ln=textareaEls.length;rnfor(var i=0;i
[ASP.NET MVC] ASP.NET MVC 4 实战 (英文版)
☆ 资源说明:☆ [Manning Publications] ASP.NET MVC 4 实战 (英文版) [Manning Publications] ASP.NET MVC 4 in Action (E-Book) ☆ 图书概要:☆ ASP.NET MVC 4 in Action is a hands-on guide that shows you how to apply ASP.NET MVC effectively. After a high-speed ramp up, this thoroughly revised new edition explores each key topic with a self-contained example so you can jump right to the parts you need. Based on thousands of hours of real-world experience, the authors show you valuable high-end techniques you won't find anywhere else. Written for developers, the book arms you with the next-level skills and practical guidance to create compelling web applications. ☆ 出版信息:☆ [作者信息] Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, Jeremy Skinner [出版机构] Manning Publications [出版日期] 2012年06月05日 [图书页数] 440页 [图书语言] 英语 [图书格式] PDF 格式
[ASP.NET MVC] ASP.NET MVC 4 高级程序设计 (英文版)
☆ 资源说明:☆ [Apress] ASP.NET MVC 4 高级程序设计 (英文版) [Apress] Pro ASP.NET MVC 4 (E-Book) ☆ 图书概要:☆ The ASP.NET MVC 4 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET. ASP.NET MVC 4 contains a number of significant advances over previous versions. New mobile and desktop templates (employing adaptive rendering) are included together with support for jQuery Mobile for the first time. New display modes allow your application to select views based on the browser that's making the request while Code Generation Recipes for Visual Studio help you auto-generate project-specific code for a wide variety of situtations including NuGet support. ☆ 出版信息:☆ [作者信息] Adam Freeman [出版机构] Apress [出版日期] 2013年01月16日 [图书页数] 756页 [图书语言] 英语 [图书格式] PDF 格式
[ASP.NET MVC] ASP.NET MVC 4 编程 (英文版)
☆ 资源说明:☆ [奥莱理] ASP.NET MVC 4 编程 (英文版) [奥莱理] Programming ASP.NET MVC 4 (E-Book) ☆ 图书概要:☆ Get up and running with ASP.NET MVC 4, and learn how to build modern server-side web applications. This guide helps you understand how the framework performs, and shows you how to use various features to solve many real-world development scenarios you’re likely to face. In the process, you’ll learn how to work with HTML, JavaScript, the Entity Framework, and other web technologies. You’ll start by learning core concepts such as the Model-View-Controller architectural pattern, and then work your way toward advanced topics. The authors demonstrate ASP.NET MVC 4 best practices and techniques by building a sample online auction site ("EBuy") throughout the book. ☆ 出版信息:☆ [作者信息] Jess Chadwick, Todd Snyder, Hrusikesh Panda [出版机构] O'Reilly Media [出版日期] 2012年10月06日 [图书页数] 492页 [图书语言] 英语 [图书格式] PDF 格式
[ASP.NET MVC] ASP.NET MVC 4 移动应用开发 (英文版)
☆ 资源说明:☆ [Packt Publishing] ASP.NET MVC 4 移动应用开发 (英文版) [Packt Publishing] ASP.NET MVC 4 Mobile App Development (E-Book) ☆ 图书概要:☆ Create next-generation applications for smart phones, tablets, and mobile devices using the ASP.NET MVC development framework Overview Learn and utilize the latest Microsoft tools and technologies to develop mobile web apps with a native feel Create web applications for the traditional and mobile web Discover techniques used to overcome the pitfalls of developing Internet-ready apps ☆ 出版信息:☆ [作者信息] Andy Meadows [出版机构] Packt Publishing [出版日期] 2013年07月23日 [图书页数] 356页 [图书语言] 英语 [图书格式] PDF 格式
[ASP.NET MVC] ASP.NET MVC 4 高级编程 (英文版)
☆ 资源说明:☆ [Wrox] ASP.NET MVC 4 高级编程 (英文版) [Wrox] Professional ASP.NET MVC 4 (E-Book) ☆ 图书概要:☆ An outstanding author team presents the ultimate Wrox guide to ASP.NET MVC 4 Microsoft insiders join giants of the software development community to offer this in-depth guide to ASP.NET MVC, an essential web development technology. Experienced .NET and ASP.NET developers will find all the important information they need to build dynamic, data-driven websites with ASP.NET and the newest release of Microsoft's Model-View-Controller technology. Featuring step-by-step guidance and lots of code samples, this guide gets you started and moves all the way to advanced topics, using plenty of examples. Designed to give experienced .NET and ASP.NET programmers everything needed to work with the newest version of MVC technology Expert author team includes Microsoft ASP.N ET MVC insiders as well as leaders of the programming community Covers controllers, views, models, forms and HTML helpers, data annotation and validation, membership, authorization, security, and routing Includes essential topics such as Ajax and jQuery, NuGet, dependency injection, unit testing, extending MVC, and Razor. ☆ 出版信息:☆ [作者信息] Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen [出版机构] Wrox [出版日期] 2012年10月02日 [图书页数] 504页 [图书语言] 英语 [图书格式] PDF 格式
[ASP.NET MVC] ASP.NET MVC 4 开发技巧 (英文版)
☆ 资源说明:☆ [Apress] ASP.NET MVC 4 开发技巧 (英文版) [Apress] ASP.NET MVC 4 Recipes (E-Book) ☆ 图书概要:☆ ASP.NET MVC 4 Recipes is a practical guide for developers creating modern web applications, cutting through the complexities of ASP.NET, jQuery, Knockout.js and HTML 5 to provide straightforward solutions to common web development problems using proven methods based on best practices. The problem-solution approach gets you in, out, and back to work quickly while deepening your understanding of the underlying platform and how to develop with it. ☆ 出版信息:☆ [作者信息] John Ciliberti [出版机构] Apress [出版日期] 2013年02月30日 [图书页数] 632页 [图书语言] 英语 [图书格式] PDF 格式
js $.when使用时的注意事项
function getClsData(){ return ajax.post({ req:{ service: 'SELECTMCLSTREE' } }).done(function(data) { allTreeData= data[0]; ...
ASP.NET MVC 与 NHibernate结合使用时,NHibernate的session问题
代码是这样的[code=csharp]rn [NHibernateSession]rn public ActionResult SaveNewOrder(Order order)rn rn ......rn return RedirectToAction("Index");rn rnrn[AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]rn public class NHibernateSessionAttribute : FilterAttribute, IActionFilterrn rn public NHibernateSessionAttribute() : base()rn rn rnrn public void OnActionExecuting(ActionExecutingContext filterContext)rn rn var session = SessionProvider.GetNewSession();rn CurrentSessionContext.Bind(session);rn rnrn public void OnActionExecuted(ActionExecutedContext filterContext)rn rn CurrentSessionContext.Unbind(SessionProvider.GetSessionFactory()).Close();rn rn rn[/code]rnrn对于每个Action方法在执行前,都会获取一个新的session帮到这个线程中,执行完后解除这个session,这样做的好处是什么?
ASP.NET MVC 4高级编程
ASP.NET MVC 4高级编程(电子书),分享给大家,欢迎大家学习
ASP.NET MVC 4 Recipes
ASP.NET MVC 4 Recipes
ASP.NET MVC 4教程
ASP.NET MVC 4教程
ASP.NET MVC 4 in Action
Manning 出版的ASP.NET MVC 4的经典教材。
beginning asp.net mvc 4
beginning asp.net mvc 4
·ASP.NET MVC 4 高级编程
Professional ASP.NET MVC 4 ASP.NET MVC 4 高级编程 最新的,有需要学习最新技术的可以看看。
Professional ASP.net MVC 4
Professional ASP.net MVC 4 2012/10
Asp.net MVC 4 in action
ASP.NET MVC4 in action是几本mvc4里面,比较基础简单的一本。
ASP.NET MVC 4数据库操作
EF框架:Entity Framework EF框架的功能:专门用来对数据库里面的表进行增删改查。 在MVC中进行编程的整体思路如下: 1、编写模型类Model→2、编写控制器Controller→3、编写视图View 1、编写模型类Model 1)编写与数据库里面的表相映射的模型类。 2)编写与数据库相映射的模型类。 MVC里面的路径URL的格式:http://localhost:1059/控制器的名字/Action的名字
Professional ASP.NET MVC 4
Professional ASP.NET MVC 4
Programming ASP.NET MVC 4
by Jess Chadwick, Todd Snyder, and Hrusikesh Panda
asp.NET mvc 4
asp.net MVC 4 导航页rnrn导航页怎么做呢 我现在把页面都画好了 但是需要一个导航 就是把所有页面连接起来 怎么做。求指导,求源码,求实例 大神指点 导航我不会画了rn。。。
ASP.NET MVC 4 参考手册
请问哪里可以下载到 【ASP.NET MVC 4 参考手册】?rnVisual Studio 的帮助文档 不能找到 MVC 的相关 API。
ASP.NET MVC 4 In Action
ASP.NET MVC 4实战, 实用的ASP.NET MVC 4 学习资料
asp.net mvc 4
asp.net mvc 4 及 3 書籍,提供MVC 開發與常用技術參考/
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池