

I also tried to create an approach closer to what the documentation states: $(document).on('click', '#btn-test', function()Ĭannot read property 'removeAllTags' of undefined

With this in mind, I have tried without success the following (can be seen here in JSFiddle): $(document).on('click', '#btn-test', function() Tagify Highlights Built for your business Works with the latest themes About this app Launched Languages English Categories Product badges Customized product badges will inform the customer of specific product offers, sales, promotions etc Our app will allow you to add customized product badges to your website. I tried setting the maxTags property on the Tagify object to 3 and referencing in the validate function, but it seems like validate is not called when you reach maxTags set on the object. $('.tags-jquery-removeAllBtn').on('click', (jqTagify)) Note that you can't use the maxTags Tagify property with this method. bind the "click" event on the "remove all tags" button In the documentation it says: // get the Tagify instance assigned for this jQuery input object so its methods could be accessed Supports English, Russian, Chinese, Hindi, Spanish, Arabic, Japanese, German, Hebrew, French and Korean languages. Source can be either an HTML page, a Markdown document or a plain text. The documentation for deleting all tags with jQuery is here: Tagify produces a set of tags from a given source. I need to handle a dynamic button that will remove all the Tagify tags. Tagify is a web & mobile app that helps distributors quickly make great-looking signage.
