发布网站后,我收到 javascript 错误,例如
TypeError: jQuery.validator is undefined
当我在 web.config 中切换到调试模式时工作正常
请有任何建议。
**
更新
**
这是最终的html输出
<script src="/bundles/jquery?v=OCFAn1NcaUrZ5VLi0Kt8lefDjHOF7mvtdw-2FUpZjJ01">
<script src="/bundles/zurb?v=bCGUiMpF-XN8v4h86_MNVwMElh2rda9wV-KjB32HHzI1">
<script src="/bundles/jqueryval?v=23P9NAiLRvyuRmVPUho09NX8j4Fx7j2ipaSeSYZ2-mY1">
<script src="/Scripts/jquery.validate.additional-methods.min.js">
<script src="/Scripts/jquery.creditcard2.pack-1.0.1.js">
<script src="/Scripts/startdateAdapters.js">
<script src="/Scripts/expiredateAdapters.js">
难道我做错了什么?