the returned AJAX response.
It should not contain DOCTYPES or HTML content in it.
Simply, it should be just a list of items separated by a line break.
USA
CANADA
UNITED KINGDOM
CHINA
JAPAN
No HTML or any other things. If you're using a Framework, templating
system, or something similar make sure the HTML template content isn't
being automatically included in your AJAX response.
On Oct 27, 4:29 pm, luisfigo <rsoeg...@gmail.com> wrote:
> Hi guys,
>
> Currently I'm using this version of autocomplete pluginhttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/for
> some of my php files.
>
> I found an issue with the autocomplete dropdown that it showed all the
> html tags as results instead of the data from the database. Something
> like...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...Was
> wondering what went wrong here since I've it implemented for another
> web page and it worked absolutely fine.
>
> Inhttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/, I
> also found similar post about the issue by HESHAM.
>
> Any advice? Thanks
No comments:
Post a Comment