Visual Studio 2008中的JScript错误 [英] JScript Error With Visual Studio 2008
问题描述
大家好。
我在VS2012的一个项目中工作,在我的登录页面中,我使用JQuery脚本对某些图像产生一些效果,而在VS2008中它完美运行。
我将所有项目都传递给了VS2008并且项目运行正常,除了登录,我发生了以下错误:
Microsoft JScript运行时错误:''$''未定义
我怎么解决它?问题是在调试时,当我从服务器启动项目时我没有问题。
提前致谢
一些代码:
Hello to all.
I was working in a project with VS2012, in my log-in page I was using a JQuery Script to make some effects over certain images, and in VS2008 it works perfect.
I passed all the project to VS2008 and the project works perfectly, except for the Log-in, there I''m having the following error:
Microsoft JScript runtime error: ''$'' is undefined
Any idea of how can I solve it? The problem is when debugging, when I start the project from the server I have no problems.
Thanks in advance
Some Code:
<script src="./Scripts/jquery-1.7.js" type="text/javascript"></script>
<script src="./Scripts/jqFancyTransitions.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(
function () {
$('#slideshowHolder').jqFancyTransitions({ width: 394, height: 144 });
}
);
推荐答案
''未定义
我怎么解决它?问题是在调试时,当我从服务器启动项目时我没有问题。
提前致谢
一些代码:
'' is undefined
Any idea of how can I solve it? The problem is when debugging, when I start the project from the server I have no problems.
Thanks in advance
Some Code:
<script src="./Scripts/jquery-1.7.js" type="text/javascript"></script>
<script src="./Scripts/jqFancyTransitions.js" type="text/javascript"></script>
<script type="text/javascript">
(document).ready(
function(){
(document).ready( function () {
('#slideshowHolder')。jqFancyTransitions({width:394,height:144});
}
);
('#slideshowHolder').jqFancyTransitions({ width: 394, height: 144 }); } );
这篇关于Visual Studio 2008中的JScript错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!