window.open(...在ISP上导致错误,但在开发系统上没有 [英] window.open(... causes an error on the ISP but not on the development system

查看:67
本文介绍了window.open(...在ISP上导致错误,但在开发系统上没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户点击锚点并请求显示图像的弹出窗口

:openWindow(...


文件夹javascript 中的功能:


openWindow(..


使用window.open(...在新窗口中显示图像。


这在我的机器上运行正常。


但在ISP的所有情况下,IE显示在左下角

消息:


页面错误。


我不知道怎么在ISP的机器上调试什么东西?

我的。


得到任何东西想法可能会导致什么?


提前致谢


解决方案

< blockquote>如果你可以提供网址,我甚至可以调试它.Javascripts

即使在远程机器上也很容易调试。


可能你可以使用firefox一次。在错误c在鞋垫上,您的实际错误可以找到
。在Internet Explorer中,您需要从选项启用调试。


最有可能是一些路径问题。


-

Vinay Khaitan

[Windows窗体布局控制]
http://www.smart-components.com/

------------------------ ----------------------------------------

" AAaron123" < aa ******* @ roadrunner.com写信息

新闻:e8 ************** @ TK2MSFTNGP02.phx.gbl ...


如果用户点击锚点并请求弹出窗口显示

图像


< a href =" javascript :openWindow(...


javascript 文件夹中的函数:


openWindow(..


使用window.open(...在新窗口中显示图像。


这在我的机器上运行正常。


但在ISP的所有情况下,IE显示在左下角

消息:


页面错误。


我不知道如何在ISP的机器上调试某些工具

我的。


知道可能造成这种情况的原因吗?


提前致谢



Firefox的错误控制台就是我需要的全部内容找到错误。很高兴我现在知道

了!

谢谢


" Vinay Khaitan" < vk ****** @ gmail.com写信息

新闻:ek ************* @ TK2MSFTNGP04.phx.gbl ...


如果你可以提供网址,我甚至会调试它。 Javascripts

即使在远程机器上也很容易调试。


可能你可以使用firefox一次。在错误控制台中,可以找到您的实际错误

。在Internet Explorer中,您需要从

选项启用调试。


最有可能是一些路径问题。


-

Vinay Khaitan

[Windows窗体布局控制]
http://www.smart-components.com/

---------------- ------------------------------------------------ <无线电通信/>

" AAaron123" < aa ******* @ roadrunner.com写信息

新闻:e8 ************** @ TK2MSFTNGP02.phx.gbl ...


>如果用户点击锚点并请求弹出窗口显示

< a href =" ; javascript :openWindow(...

文件夹中的函数javascript

openWindow(..

使用window.open(...在新窗口中显示图像。

这在我的机器上运行正常。

但是在ISP所发生的一切都是IE显示屏左下方的消息:

页面上的错误。

我不知道如何调试一些东西ISP的机器在我的机器上工作。

知道可能导致这种情况的原因吗?

提前致谢

/>




" AAaron123"< aa ******* @ roadrunner.comwrote in message

新闻:%2 **************** @ TK2MSFTNGP03.phx.gbl ...


FireFox的错误控制台是我找到错误所需的全部内容。很高兴我现在知道

了!



如果你也针对IE开发,那么你肯定需要这个:
http://www.microsoft.com/downloads/d...displaylang=en

-

Mark Rae

ASP.NET MVP
http://www.markrae.net


If the user clicks an anchor and request a popup window displaying an image

<a href="javascript:openWindow(...

The function in the folder javascript:

openWindow(..

uses window.open(... to display the image in a new window.

This works OK on my machine.

But on the ISP''s all that happens is IE displays at the bottom left the
message:

Error on page.

I have no idea how to debug something on the ISP''s machine that works on
mine.

Got any idea what could possibly be causing this?

Thanks in advance


解决方案

If you could give web address, I would have even debugged it. Javascripts
are easy to debug even on remote machines.

May be you can use firefox once. In the error console, your actual error can
be found. In internet explorer, you need to enable debugging from options.

Most probably, some path problem.

--
Vinay Khaitan
[Windows Forms Layout Control]
http://www.smart-components.com/
----------------------------------------------------------------
"AAaron123" <aa*******@roadrunner.comwrote in message
news:e8**************@TK2MSFTNGP02.phx.gbl...

If the user clicks an anchor and request a popup window displaying an
image

<a href="javascript:openWindow(...

The function in the folder javascript:

openWindow(..

uses window.open(... to display the image in a new window.

This works OK on my machine.

But on the ISP''s all that happens is IE displays at the bottom left the
message:

Error on page.

I have no idea how to debug something on the ISP''s machine that works on
mine.

Got any idea what could possibly be causing this?

Thanks in advance



Firefox''s error console was all I needed to find the bug. Glad I now know
about that!
Thanks

"Vinay Khaitan" <vk******@gmail.comwrote in message
news:ek*************@TK2MSFTNGP04.phx.gbl...

If you could give web address, I would have even debugged it. Javascripts
are easy to debug even on remote machines.

May be you can use firefox once. In the error console, your actual error
can be found. In internet explorer, you need to enable debugging from
options.

Most probably, some path problem.

--
Vinay Khaitan
[Windows Forms Layout Control]
http://www.smart-components.com/
----------------------------------------------------------------
"AAaron123" <aa*******@roadrunner.comwrote in message
news:e8**************@TK2MSFTNGP02.phx.gbl...

>If the user clicks an anchor and request a popup window displaying an
image

<a href="javascript:openWindow(...

The function in the folder javascript:

openWindow(..

uses window.open(... to display the image in a new window.

This works OK on my machine.

But on the ISP''s all that happens is IE displays at the bottom left the
message:

Error on page.

I have no idea how to debug something on the ISP''s machine that works on
mine.

Got any idea what could possibly be causing this?

Thanks in advance




"AAaron123" <aa*******@roadrunner.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

FireFox''s error console was all I needed to find the bug. Glad I now know
about that!

If you also develop against IE, then you definitely need this:
http://www.microsoft.com/downloads/d...displaylang=en
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


这篇关于window.open(...在ISP上导致错误,但在开发系统上没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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