Now we can use an input property autocomplete.
Here is an example of turning off autocomplete:
<input type=text name=test autocomplete=off />
Although this attribute does not belong to the XHTML standard, it supports it both IE and Mozilla, and may also be added to the standard soon.