FAQ问题 [英] FAQ Questions

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

问题描述

仅仅是出于我自己的好奇心,常见问题解答中引用的Java Applet和HTTPRequestObject一起发生了什么?
http://jibbering.com/faq/#FAQ4_34


并在 http://jibbering.com/faq/#FAQ4_43 ,任何添加片段的机会

关于这个书签:


javascript :''< code>< ol>< li>''+ (document.documentElem ent || document.body).outerHTML.replace(/& / g,"& amp;")。replace(/< / g,"& lt;")。取代(/%20%20 /克,"&安培; NBSP;%20 QUOT)。代替(/ \\\
/克,"<李>")+ '' < \ /醇>< ; \ /代​​码>'';


我不记得是谁编写的,但是它为你提供了

文件的来源,行号,使IE中的调试更加简单。


< FAQENTRY>

-

兰迪

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

Just for my own curiosity, what ever happend to the Java Applet that was
referenced in the FAQ along with the HTTPRequestObject?
http://jibbering.com/faq/#FAQ4_34

And in http://jibbering.com/faq/#FAQ4_43, any chance of adding a snippet
about this bookmarklet:

javascript:''<code><ol><li>''+(document.documentElem ent||document.body).outerHTML.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/%20%20/g,"&nbsp;%20").replace(/\n/g,"<li>")+''<\/ol><\/code>'';

I don''t recall who wrote it, but it gives you the source of the
document, with line numbers, to make debugging in IE a lot simpler.

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

推荐答案

< Randy Webb写道:


Randy Webb wrote:
为了我自己的好奇心,常见问题解答中引用的Java Applet发生了什么?以及HTTPRequestObject?
http://jibbering.com/faq/#FAQ4_34
Just for my own curiosity, what ever happend to the Java Applet that was
referenced in the FAQ along with the HTTPRequestObject?
http://jibbering.com/faq/#FAQ4_34




我认为小程序在这里:
http://www.galasoft-lb.ch/shop_en.html

虽然我不确定。而且我不会编辑常见问题所以我不会知道为什么链接不再存在,也许是限制免费的

版本的applet是这样的原因。
-


Martin Honnen
http://JavaScript.FAQTs.com/


>在 http://jibbering.com/faq/#FAQ4_43 ,任何机会添加关于此书签的片段
> And in http://jibbering.com/faq/#FAQ4_43, any chance of adding a snippet


javascript :''< code>< ol>< li>''+ (
about this bookmarklet:

javascript:''<code><ol><li>''+(



document.documentElement || document.body).outerHTML .replace(

/& / g,"& amp;") .replace(/< / g,"& lt;")。replace(/%20%20 / g,"& nbsp;%20")。replace(

/ \ n / g,"< li>")+''< \ / ol>< \ / code>'';


我认为在MacOS版本的IE上需要进行更多测试。当我访问雅虎网站时,我只有一行显示。 yahoo

网站今天有一个javascript错误。


我在这个论坛中选择了这个排队。我没有记录作者。我相信它会适用于更多的浏览器。如果您使用document.write,这是显示

生成的html源的好方法:


javascript :(文档.documentElement || document.bod y).innerHTML.replace(

/& / g,%22& amp;%22).replace(

/< /g,%22&lt;%22).replace(/\\\
/g,%22<br>%22)


您可能需要删除行结束时将它变成一个书签。


这些行是FAQ的一个很好的补充。


Robert


document.documentElement||document.body).outerHTML .replace(
/&/g,"&amp;").replace(/</g,"&lt;").replace(/%20%20/g,"&nbsp;%20").replace(
/\n/g,"<li>")+''<\/ol><\/code>'';

I think more testing would be needed on the MacOS version of IE. I
got only one line to display when I visited the Yahoo site. The yahoo
site has a javascript error today.

I picked this line up in this forum. I did not record the author. I
belive it would work with more browsers. It is a good way to display
the resulting html source if you are using document.write:

javascript:(document.documentElement||document.bod y).innerHTML.replace(
/&/g,%22&amp;%22).replace(
/</g,%22&lt;%22).replace(/\n/g,%22<br>%22)

You may need to delete the line ends when making it into a bookmark.

These lines would be a good addition to the FAQ.

Robert


Randy Webb写道:
Randy Webb wrote:
仅仅是出于我自己的好奇心,常见问题解答中引用的Java
Applet以及
HTTPRequestObject ?
http://jibbering.com/faq/#FAQ4_34

您的意思是: -


< URL: http://jibbering.com/faq/#FAQ4_3 8 >


- 它有Galasoft小程序的链接?

http://jibbering.com/faq/#FAQ4_43 ,有机会添加关于此书签的片段:

javascript :''< code>< ol>< li>''+
(document.documentElement || document.body)。
outerHTML.replace(/& / g,"& amp;")。
replace(/< / g,"& lt;")。replace(/%20% 20 / g,& nbsp; 20)。
替换(/ \ n / g,"< li>")+''< \ / ol>< \ / code>'';

我不记得是谁编写的,但是它为你提供了文件的来源,包括行号,以便进行调试IE更简单。
Just for my own curiosity, what ever happend to the Java
Applet that was referenced in the FAQ along with the
HTTPRequestObject?
http://jibbering.com/faq/#FAQ4_34
Did you mean:-

<URL: http://jibbering.com/faq/#FAQ4_38 >

- which has the link to the Galasoft applet?
And in http://jibbering.com/faq/#FAQ4_43, any chance of
adding a snippet about this bookmarklet:

javascript:''<code><ol><li>''+
(document.documentElement||document.body).
outerHTML.replace(/&/g,"&amp;").
replace(/</g,"&lt;").replace(/%20%20/g,"&nbsp;20").
replace(/\n/g,"<li>")+''<\/ol><\/code>'';

I don''t recall who wrote it, but it gives you the
source of the document, with line numbers, to make
debugging in IE a lot simpler.




作为FAQ4_43的补充,它将作为页面的一部分最有意义

客户端调试策略。但是,我经常认为将一页javascript URL放在一起可能是个好主意。一个

集合,可能包含对调试有用的URL,还有

如何用它们来破坏像javascript这样的东西的例子

validation(作为一个教训,为什么不应该使用客户端验证

自己)。


Richard。



As an addition to FAQ4_43 it would make most sense as part of a page on
client-side debugging strategies. However, I have often thought that it
might be a good idea to put a page of javascript URL together. A
collection that could include URLs useful for debugging, but also
examples of how they may be used to subvert things like javascript
validation (as a lesson in why client-side validation should not be used
on its own).

Richard.


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

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