Problem with Autocomplete
- I am having a compatibility problem with IE. The following URL works fine in Safari and
Firefox, but is broken in IE.
The Autocomplete field is set on the Company field, and in IE - the field is considerably wider
than it should be, and stuck way out on the right hand side. Plus the values are bulleted
(whereas they don't show bulleted in the other two browsers).
Please note, that the CSS that completes this design, along with all the images have been
removed deliberately - so I realise that the design itself is broken. Please ignore these errors.
i want to have an autocomplete control with some text (Press here to
search), when a user clicks the text disappears so the user can
search. When item selected the autocomplete looses focus and the
"Press... " text should appear.
I've done it with this:
YAHOO.util.Dom.get('statesinput').value = "";
YAHOO.util.Dom.get('statesinput').value = "Search Contacts Here";
This works fine the first time, then when I click the control the
FocusEvent is not triggered.
Am I doing something not allowed ?
- First: sorry for my english :(
I am using the control autocomplete in Firefox 22.214.171.124.
When I do some change in an text item and immediately (before the
expiration of the queryDelay) press TAB (to go to the next item) the
Autocomplete control fires the data request of the item I'm leaving.
You can see a "test case" of this in the "Sample Search (1 sec query
If you type "alab" + Tab, the Firebug shows the connection to:
(The same thing happens if you click in the next item after writing).
Is there anyway to avoid this? (Make the request only when the
queryDelay expires without leaving the item).
Thanks in advance.