tagmanager
tagmanager copied to clipboard
not working with dynamic text-input
Everything works fine, even the typeahead.js after little tweaks. But the problem is with dynamic text-input. The plugin doesn't seem to work with the text-inputs [no enter/comma-effect, no tag-creation, only normal inputting text] that were dynamically created.
What's the workaround?
I think this is just a JQuery question, not tag-manager specific:
If you're initialising the plugin during document-ready, then creating more textfields later, you will need to initialise those new textfields with the plugin. You could alternatively use jquery delegate() or on() to bind to "future" textfields (I used live() in the past for this, but this is now removed).