php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31319 just a little suggesition
Submitted: 2004-12-28 13:15 UTC Modified: 2004-12-28 15:22 UTC
From: treo at inside-php dot de Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: treo at inside-php dot de
New email:
PHP Version: OS:

 

 [2004-12-28 13:15 UTC] treo at inside-php dot de
Description:
------------
The auto completition in the search is really nice but the browsers auto completition slightly disturbes it.
To turn it off you can use autocomplete="off" int the input tag.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-28 13:36 UTC] goba@php.net
What browser? We do turn off the autocomplete in JavaScript. I am not about to introduce a proprietary attribute, since our aim is to generate valid HTML (though we are not quite there yet, we are not going in the opposite direction). JavaScript trickery in this case is accepted though.

http://cvs.php.net/co.php/phpdoc/scripts/quickref/originalafter.js

See that we do have a fh_EDropDownChange() function called on script init, and when the dropdown is changed, so that values for other search types can be autocompleted by the browser.
 [2004-12-28 14:42 UTC] treo at inside-php dot de
The autocomplete turnoff with JavaScript then seems not to work with me (Firefox 1.0 on Linux) autocomplete="off" worked quite good.
I found it in the sourcecode of Google Suggest (http://www.google.com/webhp?complete=1) so I think it should work in the most common browsers.
 [2004-12-28 14:50 UTC] goba@php.net
Honestly I cannot reproduce your problem. Having the suggestion turned on, I see no browser autocomplete, although when I choose web site search for example, I see the autocomplete just fine.

And my browser id is:

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0

Which should tell everything. Waiting for someone else to test this.
 [2004-12-28 15:19 UTC] treo at inside-php dot de
Well, now it seems to work for me, too.
Maybe the JavaScript wasn't loaded yet when I started typing in the search box.
Thanks anyway :)
 [2004-12-28 15:22 UTC] goba@php.net
Bogus then...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 22:01:31 2024 UTC