or Create a profile
AutoSuggest jQuery Plugin →
26 Nov, 2010 05:21 PM
I'm attempting to use your fantastic AutoSuggest plugin on my
site, and I've got it working pretty well. The only thing I'd like
is to be able to automatically focus in on that particular field so
that they can immediately type text without having to first click.
In addition, I'm using the placeholder attribute (I've set the
startText to be blank because I'm using the html5form jQuery
plugin) and it doesn't seem to work unless you first click on the
AutoSuggest input and then click off again, so I'm trying to
automate this via jQuery.
Now, if I bind a function to the focus() event and just print
out a message, I can see that the focus event is actually being
called, but it's simply not focusing in on the input box (i.e.
there is no cursor and I can't type). Similarly, firing the click()
event calls focus, but doesn't actually focus.
Any idea where I should start looking?
Oh, and thanks very much for such an awesome autoSuggest! It's
way way way better than the built-in one that jQuery provides
on 07 Sep, 2011 09:02 PM
I encountered this too. The solution was to put the focus on the
textbox inside the UL element. Make sure you set asHtmlID when
setting up the plugin.
For example, if asHtmlID is set to myAutoSuggest, then you would
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Drew Wilson staff to resolve this discussion.
This discussion is private.
Only you and Drew Wilson support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.