On Wed, Nov 5, 2008 at 7:40 PM, Brad Jorsch b-jorsch@northwestern.edu wrote:
On Wed, Nov 05, 2008 at 12:56:23PM -0500, Aryeh Gregor wrote:
Isn't there some HTML directive for inputs saying "don't auto-fill this box"?
Adding a property autocomplete="off" works in Firefox and IE, at least according to various Google searches. It won't validate, though, if that matters to you.
Here is a ridiculous hack to able that:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [ <!ATTLIST html xmlns:goo CDATA #FIXED "http://zerror.com/google/autocomplete"
<!ATTLIST input autocomplete CDATA #IMPLIED> ]
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:goo="http://zerror.com/google/autocomplete" > <head><title>Example</title></head> <body> <input type="text" name="search" autocomplete="on" value="Looks mon, no hands!" /> </body> </html>