Jump to content

Autocomplete error


Khương Itvtbadboy

Recommended Posts

I had chosen autocomplete using jquery and javascript for my website. In this image, default feature are one text input, one availableTags and one source. I want to develop more than one availableTags same as image but ... maybe autocomplete formula was wrong when i add "switch function".

Who can help me!!!

Noname.jpg

Edited by Khương Itvtbadboy
Link to comment
Share on other sites

The syntax source: availableTags is not proper Javascript. If "source" is meant to be a variable you would write source = availableTags;

Even if you do assign something to a variable named "source", you're not using the variable anywhere so it wouldn't do anything.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...