Trying to use tagify plug-in to populate text field with dynamic labels
posted 4 years ago
Have the following code which (resides in a dialog box) and serves as an event listener
for check boxes. Am able to populate / de-populate text field with values from check box
by checking or unchecking the individual check boxes:
However, when I use try to use the JQuery Tagify plug-in it only creates one "tagified dynamic label"
inside the text field but doesn't create another label when I click on an additional check box.
Also, when I uncheck the original checkbox, it doesn't remove the original label.
Here's my code using the JQuery tagify plug-in (all I did was keep everything the same as above
but called the tagify function on the text field):
jquery.tagify.js: 'options' is undefined, line 71
In the source code this line reads:
Its stating that options.key is undefined...
To view the jquery.tagify.js complete source, please click here.
What am I possibly doing wrong? Is there a way I can create an "else" for example:
Would really appreciate it if someone could help me with this...