Jump to content

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!!!


Edited by Khương Itvtbadboy
Link to post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...