I am in the process of writing a script that builds upon user input,
I have some fields that its values need to be quired from the database,
and if no entry found I want to add a new value so the next user will find it through autocomplete.
I found this great looking & easy to implement jquery plugin called TokenInput, but it doesn't seem to
accept entries that are not available in my database query.
Here's the link for the plugin: http://loopj.com/jquery-tokeninput/demo.html
Is there a workaround for this ? Or do you suggest another plugin that already has this feature.
And I'm a little bit concerned about the security aspect of this sort of websites is there something special I need to take care of when doing this sort of implementation ?
To add to Shawn's answer (i.e. you need something server side to actually add it as a new item in the database), you might be able to make this change to allow the addition on the javascript side of things.