Visual Studio 2008中的JScript错误 [英] JScript Error With Visual Studio 2008

查看:86
本文介绍了Visual Studio 2008中的JScript错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆