*
The moose likes HTML, CSS and JavaScript and the fly likes Trying to use tagify plug-in to populate text field with dynamic labels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Trying to use tagify plug-in to populate text field with dynamic labels" Watch "Trying to use tagify plug-in to populate text field with dynamic labels" New topic
Author

Trying to use tagify plug-in to populate text field with dynamic labels

James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 215
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):

I get this JavaScript error in the browser:

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

Thank you for taking the time to read this.
James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 215
Got it working like this:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to use tagify plug-in to populate text field with dynamic labels
 
Similar Threads
JQuery for Displaying Dynamic Labels such as Hotmails' Email Recipients?
How to iterate over Div and extract individual check box values?
jquery.validate and tabber.js problems validating
How to setup a single checkbox to toggle / untoggle other check boxes?
How to iterate over enumerated Check List (check boxes) using JQuery?