不记得的字段 [英] non-remembering fields

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

问题描述

我的浏览器记住我之前在文本字段中输入的内容,并给出了一个建议的下拉列表。当我打字。我一般都喜欢这个

功能,但是被要求在网页上的特定文本字段中禁用它

我维护的页面。我已经看到这个功能看起来似乎是禁用了b $ b的实例,那么禁止浏览器记住

特定文本条目的前一个输入的技巧是什么?两个?


Mark

My browser "remembers" what I typed previously in text fields and gives
me a drop-list of "suggestions" as I type. I generally like this
feature, but was asked to disable it for a specific text field on a web
page I maintain. I''ve seen instances where the feature does seem to be
disabled, so what is the trick to disable the browser from remembering
previous input for a specific text entry or two?

Mark

推荐答案



Mark写道:

Mark wrote:

我的浏览器记住我之前在文本字段中输入的内容,并给出了一个建议的下拉列表。当我打字。我一般都喜欢这个

功能,但是被要求在网页上的特定文本字段中禁用它

我维护的页面。我已经看到这个功能看起来似乎是禁用了b $ b的实例,那么禁止浏览器记住

特定文本条目的前一个输入的技巧是什么?两个?


马克
My browser "remembers" what I typed previously in text fields and gives
me a drop-list of "suggestions" as I type. I generally like this
feature, but was asked to disable it for a specific text field on a web
page I maintain. I''ve seen instances where the feature does seem to be
disabled, so what is the trick to disable the browser from remembering
previous input for a specific text entry or two?

Mark



1.这取决于用户。如果用户想要这样做,那么

用户应该能够做到这一点。不要乱用浏览器。

2.这取决于浏览器,如果有任何插件或

工具栏。

3.对于IE,你可以把autocomplete =off...注意,但是,这是

a专有属性,不会通过验证而且不能是

将来该浏览器支持。谷歌搜索建议这个

方法在Firefox中不起作用。 Opera甚至没有这个

功能,所以不要打扰。

4.如果用户有Google工具栏,那就是

信息,您可以将表单项的名称更改为

常见的内容,因此GT无法识别它。再一次,你会在用户的浏览器上搞砸

,这是一个不,没有。


我的建议是回去任何人要求你禁用它

并告诉他们不要这样做,然后说明上述原因。

祝你好运!


-

Adrienne Boswell在工作

管理员nextBlock.com
http://atlas.nextblock.com/files/

请回复群组,以便其他人分享

1. It depends on the user. If the user wants to do that, then the
user should be able to do that. Don''t mess with the browser.
2. It depends on the browser, and if there are any plugins or
toolbars.
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox. Opera does not even have this
feature available, so don''t even bother.
4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something not
common so GT would not recognize it. Again, you would be messing with
the user''s browser, and that is a no, no.

My suggestion to you is to go back to whomever asked you to disable it
and tell them to stop wanting that, then state the above reasons.

Good Luck!

--
Adrienne Boswell at work
Administrator nextBlock.com
http://atlas.nextblock.com/files/
Please respond to the group so others can share


Adrienne Boswell写道:
Adrienne Boswell wrote:

>

1.它取决于用户。如果用户想要这样做,那么

用户应该能够做到这一点。不要乱用浏览器。

2.这取决于浏览器,如果有任何插件或

工具栏。

3.对于IE,你可以把autocomplete =off...注意,但是,这是

a专有属性,不会通过验证而且不能是

将来该浏览器支持。谷歌搜索建议这个

方法在Firefox中不起作用。 Opera甚至没有这个

功能,所以不要打扰。

4.如果用户有Google工具栏,那就是

信息,您可以将表单项的名称更改为

常见的内容,因此GT无法识别它。再一次,你会在用户的浏览器中搞砸

,这是一个不,没有。
>
1. It depends on the user. If the user wants to do that, then the
user should be able to do that. Don''t mess with the browser.
2. It depends on the browser, and if there are any plugins or
toolbars.
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox. Opera does not even have this
feature available, so don''t even bother.
4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something not
common so GT would not recognize it. Again, you would be messing with
the user''s browser, and that is a no, no.



嗯,你的理由值得注意的是,但与我自己的

体验不一致。在没有调整任何浏览器设置的情况下,某些网页上有一些文字

小部件,它们永远不会记住我之前输入的内容

(无论我重访该页面多少次,以及然而,大多数

文本小部件都记住我之前输入的内容 - 即使在相同的

网站上。所以,我认为程序员在某种程度上故意转向

关闭该文本小部件的内存。我认为我听到的是

,无法关闭小部件上的内存 - 以小部件为基础。

正确吗?


Mark

Well, Your reasons are noteworthy, but inconsistent with my own
experiences. Without tweaking any browser settings, there are some text
widgets on some web pages that never remember what I typed previously
(no matter how many times I revisit that page, and yet the majority of
text widgets do "remember" what I typed previously -- even on the same
web site. So, I figured the programmer is somehow deliberately turning
off the "memory" for that text widget. What I think I am hearing is
that there is no way to turn off "memory" on a widget-by-widget basis.
Correct?

Mark


Mark< Ma *** *******@noaa.govwrites:
Mark <Ma**********@noaa.govwrites:

我的浏览器记住我之前在文本字段中输入的内容和

在我输入时给了我一个建议的下拉列表。我一般都喜欢这个功能,但是被要求在特定的文本字段上禁用它。

我维护的网页。我已经看到这个功能的实例

似乎被禁用了,那么禁用浏览器的技巧是什么?

记住特定文本条目的上一个输入或者二?
My browser "remembers" what I typed previously in text fields and
gives me a drop-list of "suggestions" as I type. I generally like
this feature, but was asked to disable it for a specific text field on
a web page I maintain. I''ve seen instances where the feature does
seem to be disabled, so what is the trick to disable the browser from
remembering previous input for a specific text entry or two?



两种最常见的方法是:


(a)非标准自动完成=关闭 ;属性(应用于表单

或单个元素);


(b)向输入元素id添加随机元素。


您应该考虑可访问性。对于一些用户来说这是一个巨大的

加上。


-

Ben。

The two most common ways to do this are:

(a) the non-standard autocomplete="off" attribute (applied to the form
or to individual elements);

(b) adding a random element to the input element ids.

You should think about accessibility. For some users it is a huge
plus.

--
Ben.


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

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