JS外部文件加载方式不好 [英] JS external file loaded in bad way

查看:44
本文介绍了JS外部文件加载方式不好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hello wverybody ...

我和JS有一个可怕的问题


我的浏览器(IE和NN)加载外部脚本不正确...他们

从他们的一半部分而不是从头开始加载文件,所以我的

脚本不能解决语法错误。你能给我一个解决方案吗?

解决方案

" Pasquale" <我们******* @ retailcenter.it>在消息中写道

新闻:LE ********************** @ news4.tin.it ...


我的浏览器(IE和NN)加载外部脚本
不正确......他们从一半的文件中加载文件,而不是从头开始加载文件,所以
我的脚本不能解决语法错误。

你能给我一个解决方案吗?


你要发布多少个不同的小组!


Pasquale写道:

你好wverybody ...
我和JS有一个可怕的问题

我的浏览器(IE和NN)加载外部脚本不正确...他们
加载来自其中半部分的文件,而不是从头开始,所以我的
脚本不能解决语法错误。

你能给我一个解决方案吗?




修复浏览器,或发布更多详细信息。也许是一个示例页面

显示行为。


-

兰迪

comp。 lang.javascript常见问题 - http://jibbering.com/faq


我在这里显示我的问题从意大利语到英语的翻译由

谷歌语言工具(我希望它不会那么糟糕)。然后有

文件:accesso.php是一个奇怪的行为的简单例子和

articoli是更复杂的东西(它有2个外部文件)


我正在开发的项目有很多函数JS,我已将

放在外部文件中。直到一个月前他们工作得很好......我因个人原因停止了一个月的发展,现在我已经恢复了我的

项目,我注意到了一件事......所有的脚本都来自我使用的浏览器(NN和MSIE),从某种意义上讲,就像NN Javascript

控制台告诉我的那样,文件js功能加载不完整,

不是从一开始就是从特定的点大约

到文件的一半。导致功能丢失,显然

语法错误...


在过去的一个月里我安装了一些Windows更新,

i使用apache 2,0,52 on win xp sp2


帮助我......是我的单身汉论文!很多很多


" Pasquale" <我们******* @ retailcenter.it> ha scritto nel messaggio

新闻:LE ********************** @ news4.tin.it ...

你好,所有人......
我对JS有一个可怕的问题

我的浏览器(IE和NN)加载外部脚本
不正确.. 。他们从一半的文件中加载文件,而不是从开头加载文件,所以我的脚本不能解决语法错误。

你能给我一个解决方案吗?



hello wverybody...
i''ve got a terrible matter with JS

my browsers (either IE and NN) load the external scripts uncorrectly...they
load the files from the half part of them and not from the beginning, so my
scripts don''t work giving syntax errors.

can you give me a solution?

解决方案

"Pasquale" <we*******@retailcenter.it> wrote in message
news:LE**********************@news4.tin.it...

hello wverybody...
i''ve got a terrible matter with JS

my browsers (either IE and NN) load the external scripts uncorrectly...they load the files from the half part of them and not from the beginning, so my scripts don''t work giving syntax errors.

can you give me a solution?


How many different groups are you going to post this at!


Pasquale wrote:

hello wverybody...
i''ve got a terrible matter with JS

my browsers (either IE and NN) load the external scripts uncorrectly...they
load the files from the half part of them and not from the beginning, so my
scripts don''t work giving syntax errors.

can you give me a solution?



Fix your browsers, or, post more detail. Perhaps a sample page that
shows the behavior.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq


i show here the translation of my problem from italian to english made by
google language tool ( i hope it will be not so bad).then there are the
files : accesso.php is a simple example of the strange behaviour and
articoli is something more complex (it has 2 external files)

the project one that I am developing has many functions JS that I have put
in external files. until a month ago they worked well... i stopped
developing for a month for personal reasons and now that I have resumed my
project I have noticed one matter... all the scripts come load evil from
the browsers i use (NN and MSIE), in the sense that, as the NN Javascript
console tells me, the files js with the functions come loaded incomplete,
that is do not from the beginning but from a particular point approximately
to the half of the file. that cause the loss of functions and obviously
syntax errors...

in the past month i installed some windows updates,
i use apache 2,0,52 on win xp sp2

help me... is my thesis of bachelor! thaks a lot

"Pasquale" <we*******@retailcenter.it> ha scritto nel messaggio
news:LE**********************@news4.tin.it...

hello wverybody...
i''ve got a terrible matter with JS

my browsers (either IE and NN) load the external scripts
uncorrectly...they load the files from the half part of them and not from
the beginning, so my scripts don''t work giving syntax errors.

can you give me a solution?



这篇关于JS外部文件加载方式不好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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