Safari和javascript [英] Safari and javascript

查看:100
本文介绍了Safari和javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你怎么能在野生动物园中看到和隐藏div?


document.all [" div_submit"]。style.display =" none" ;;


似乎无法正常工作。


另外,有谁能告诉我如何打开javascript错误评论

Safari?现在,如果javascript失败或错误,浏览器只是坐在那里
并且没有返回任何错误消息。


-

Christine

How can you make a div visible and hidden in safari?

document.all["div_submit"].style.display = "none";

Does not appear to work.

Also, can anyone tell me how to turn on javascript error commenting in
Safari? Right now, if javascript fails or errors, the browser just sits
there and doesn''t return any error message.

--
Christine

推荐答案

Christine Forber写道:
Christine Forber wrote:
你怎么能在野生动物园中看到div并隐藏?

document.all [" div_submit"]。style.display =" none";

似乎不起作用。
How can you make a div visible and hidden in safari?

document.all["div_submit"].style.display = "none";

Does not appear to work.




当然!

document.all

是Internet Explorer俚语!


document.getElementById( ''div_submit")。s​​tyle.displa y =" none";


和......奇迹......它也被IE理解:-)


获取FireFox及其附加组件:Web开发人员

来修复你的pb JS控制台(以及更多)


-

Stephane Moriaux et son [moins] vieux Mac



of course !
document.all
is Internet Explorer slang !

document.getElementById(''div_submit").style.displa y = "none";

and ... miracle ... it is also understood by IE :-)

get FireFox and its add-on : "Web developer"
to fix your pb of JS console (and much more)

--
Stephane Moriaux et son [moins] vieux Mac


ASM写道:


wh at必须阅读:


document.getElementById(''div_submit'')。style.displa y =" none";


如果div_submit

是div的id!

-

Stephane Moriaux et son [moins] vieux Mac
ASM wrote:

what was have to read :

document.getElementById(''div_submit'').style.displa y = "none";

if div_submit
is the id of the div !
--
Stephane Moriaux et son [moins] vieux Mac


ASM写道:
Christine Forber写道:
Christine Forber wrote:
如何让div在safari中可见并隐藏? br />
document.all [" div_submit"]。style.display =" none";

似乎不起作用。
How can you make a div visible and hidden in safari?

document.all["div_submit"].style.display = "none";

Does not appear to work.



当然!
document.all
是Internet Explorer俚语!

document.getElementById(''div_submit")。s​​tyle.displa y =" none" ;; < IE浏览器也理解了它:-)

获取FireFox及其附加组件:Web开发人员
修复你的pb JS控制台(以及更多)



of course !
document.all
is Internet Explorer slang !

document.getElementById(''div_submit").style.displa y = "none";

and ... miracle ... it is also understood by IE :-)

get FireFox and its add-on : "Web developer"
to fix your pb of JS console (and much more)




谢谢,我已经转发这是对我同事的回应。关于FireFox你的建议是什么?它是否足够接近Safari检测js

会导致Safari出现问题的问题?


-

Christine



Thank you, I''ve relayed this response to my colleague. Re your
suggestion about FireFox, is it close enough to Safari to detect js
problems that would cause problems in Safari too?

--
Christine


这篇关于Safari和javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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