在发布之前它工作正常但是当我发布并运行它时给我一个名为 - Microsoft JScript runtime error: 'jQuery' is undefined 的错误。我在我的 Master Page 使用这些 .js。
<script type="text/javascript" src="../../Scripts/chrome.js"></script>
<%-- <script type="text/javascript" src="../../Scripts/jquery.js"></script>--%>
<script type="text/javascript" src="../../Scripts/jquery-1.js"></script>
<script type="text/javascript" src="../../Scripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../Scripts/jquery.simplyscroll.min.js"></script>
<script type="text/javascript" src="../../Scripts/jquery.simplyscroll.js"></script>
<script type="text/javascript">
(function ($) {
$(function () {
$("#scroller").simplyScroll();
});
})(jQuery);
</script>
<script type="text/javascript" src="../../Scripts/script.js"></script>
<script type="text/javascript" src="../../Scripts/coin-slider.min.js"></script>
Visual Studio 2010 - 在 IE9 IE8 Google crome 中运行。任何建议都非常感谢!