Detecting jQuery UI autocomplete
Posted
by Soldarnal
on Stack Overflow
See other posts from Stack Overflow
or by Soldarnal
Published on 2008-10-31T20:01:45Z
Indexed on
2010/04/26
13:03 UTC
Read the original article
Hit count: 201
How can I detect whether or not an input box is currently a jQuery UI autocomplete? There doesn't seem to be a native method for this, but I'm hoping there is something simple like this:
if ($("#q").autocomplete)
{
//Do something
}
That conditional, however, seems to always return true.
© Stack Overflow or respective owner