You are here: Re: Stopping browser prompts in forms « HTML « IT news, forums, messages
Re: Stopping browser prompts in forms

Posted by Thomas 'PointedEars' Lahn on 08/10/07 18:00

Gregor Kofler wrote:
> Thomas 'PointedEars' Lahn meinte:
>> Gregor Kofler wrote:
>>> Some browser know a "autocomplete"-attribute for input fields.
>>> autocomplete="off" might help.
>> If that was the case (I have not tested it), the attribute should be either
>> be declared (which however fails when parsed as tagsoup-HTML) or its value
>> set through a properly feature-tested DOM element property, because using it
>> as above would create invalid markup.
>
> Well, I never stated that it is valid.

And you have not stated that it is not Valid, hence my remark.

> However, Google [1] uses this proprietary attribute in their smart
> suggest version,

IBTD. That Google uses some code is hardly a sign of interoperability of
it. Google's code is compacted bloat-code.

> and it is, well ...er... recommended in various AJAX publications.

Which only proves once more that there are no good books about JavaScript
and related concepts. Too many scriptkiddies think they are the real experts.

> My own smart suggest version seems to work without worrying about
> autocomplete attributes.
> [...]
> [1]
> http://www.google.com/webhp?complete=1&hl=en

Testing a snippet in one Web browser or a number of Web browsers is hardly
an indication of its quality, especially regarding interoperability among
(X)HTML user agents.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация