常见问题建议 [英] FAQ Suggestion

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

问题描述

尝试邮寄常见问题解答维护者,但邮件被退回。


主题的常见问题条目:
http://www.jibbering.com/faq/#FAQ4_15


DocDom =(文件.getElementById?true:false);

DocAll =(document.all?true:false);

DocStr =''''

if(DocAll)DocStr =" return document.all [id]"

if(DocDom)DocStr =" return document.getElementById(id)"

GetRef = new Function(" id",DocStr)

if(DocStr ==''''){DynWrite = new Function(" return false")} else {

DynWrite = new Function(id,S",GetRef(id).innerHTML = S; return

true)

}


这是一个质量很差的例子。任何阅读那些知道他们正在做什么的代码的人都可能会考虑文件中的建议

一文不值。


它应该被修改为不使用函数构造函数。它不应该在没有var关键字的情况下声明变量


DocDom变量也值得怀疑。是DocDom吗?是真实的暗示

除了document.getElementById之外的东西存在吗?


示例之前的解释就足够了。


添加一些关于脚本标记插入的内容是个好主意。 />
这种情况​​经常发生。


========================== ==============

在大多数

情况下,不会评估使用innerHTML插入的SCRIPT标签。附加一个

脚本标记将导致脚本在大多数浏览器中执行。

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

[例子]

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


========================== ==============

Tried mailing the FAQ maintainer but the mail bounced.

The FAQ entry of topic:
http://www.jibbering.com/faq/#FAQ4_15

DocDom = (document.getElementById?true:false);
DocAll = (document.all?true:false);
DocStr=''''
if (DocAll) DocStr="return document.all[id]"
if (DocDom) DocStr="return document.getElementById(id)"
GetRef=new Function("id", DocStr)
if (DocStr=='''') { DynWrite=new Function("return false") } else {
DynWrite=new Function("id", "S", "GetRef(id).innerHTML=S; return
true")
}

Is a very poor quality example. Anyone reading that code who knows
what they are doing would probably consider the advice in the document
worthless.

It should be revised to not use the function constructor, for one. It
should definitely not declare variables without the var keyword. The
DocDom variable is also questionable. Does "DocDom" being true imply
something other than "document.getElementById" exists?

The explanation before the example is sufficient.

It would be a good idea to add something about script tag insertion.
This comes up fairly often.

========================================
SCRIPT tags inserted with innerHTML will not be evaluated in most
circumstances. Appending a
script tag will cause the script to be executed in most browsers.
--------------------------------------------------------
[example]
--------------------------------------------------------

========================================

推荐答案

8月8日,10:41 * am,dhtml< dhtmlkitc。 .. @ gmail.comwrote:
On Aug 8, 10:41*am, dhtml <dhtmlkitc...@gmail.comwrote:

尝试邮寄常见问题解答维护者,但邮件被退回。
Tried mailing the FAQ maintainer but the mail bounced.



最好的方法是遵循FAQ 5中的建议:


< URL: http://www.jibbering.com/faq/#FAQ5 >

建设性的批评是受欢迎的,但不足以获得参赛资格

已更改。最成功的过程是在此处发布建议的

修订条目以及更新的原因。

FAQ维护者应该更新FAQ(或不)取决于

回复帖子。如果现在的维护者继续难以接受,或许是时候寻找新的志愿者了。

-

Rob

The best method has been to follow the advice in FAQ 5:

<URL: http://www.jibbering.com/faq/#FAQ5 >
Constructive criticism is welcome but insufficient to get entries
changed. The most successful process has been to post the suggested
revised entry here with reasons for the update.

The FAQ maintainer should then update the FAQ (or not) depending on
the response the post. If the current maintainer continues to be
elusive, perhaps it''s time to look for a new volunteer.
--
Rob


2008年8月7日星期四17:41:13 -0700(PDT),dhtml

< dh ******* ***@gmail.com写道:
On Thu, 7 Aug 2008 17:41:13 -0700 (PDT), dhtml
<dh**********@gmail.comwrote:

>尝试邮寄常见问题解答维护者,但邮件被退回。
>Tried mailing the FAQ maintainer but the mail bounced.



ji *@jibbering.com 一个?什么消息? ji*****@gmail.com 也是

有效且有一套不同的过滤方式/垃圾邮件保护。


我同意更新 - 我们是否有新的维护者,我应该给b $ b提供访问权限?


干杯,


吉姆。

the ji*@jibbering.com one? what message? ji*****@gmail.com also
works and has a different set of filtering/spam protection on it.

I do agree on the updates - do we have a new maintainer that I should
give access too?

Cheers,

Jim.


8月8日,3:41 * am,j ... @ jibbering.com(Jim Ley)写道:
On Aug 8, 3:41*am, j...@jibbering.com (Jim Ley) wrote:

On Thu,2008年8月7日17:41:13 -0700(PDT),dhtml


< dhtmlkitc ... @ gmail.comwrote:
On Thu, 7 Aug 2008 17:41:13 -0700 (PDT), dhtml

<dhtmlkitc...@gmail.comwrote:

尝试邮寄常见问题解答维护者,但邮件被退回。
Tried mailing the FAQ maintainer but the mail bounced.



j ... @ jibbering.com * one? *什么消息? * jim .... @ gmail.com也

有效并且有一套不同的过滤/垃圾邮件保护*。


the j...@jibbering.com *one? *what message? *jim....@gmail.com also
works and has a different set of filtering/spam protection *on it.



我第二次使用gmail。我发给Randy Webb的邮件

(cl****@comcast.net)反弹了。


我发给你的Gmail账号的邮件没有。

I used the gmail one the second time. The mail I sent to Randy Webb
(cl****@comcast.net) bounced.

The one I sent to your gmail account did not.


我同意更新 - 我们是否有新的维护者,我应该给b $ b提供访问权限?
I do agree on the updates - do we have a new maintainer that I should
give access too?



我不认为我们这样做。我们吗?

I don''t think we do. Do we?


>

干杯,


吉姆。
>
Cheers,

Jim.


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

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