Hope you folks don't mind entertaining a quick question. How could I clear a form text input field so it won't remember text typed by previous users. I want to add that this seems to happen only in Firefox and not on IE7. Thanks in advance for help.
Hope you folks don't mind entertaining a quick question. How could I clear a form text input field so it won't remember text typed by previous users. I want to add that this seems to happen only in Firefox and not on IE7. Thanks in advance for help.
Last edited by xtiano77; 08-18-2009 at 12:14 AM.
You can do this without PHP by using the "autocomplete" attribute like this:
Hope this helps.Code:<input type="text" id="name" autocomplete=off>
Bookmarks