WordPress Uncaught TypeError: undefined is not a function – Jquery Tag-it Plugin

I am trying to use Tagit Jquery Plugin, https://github.com/aehlke/tag-it
Also attaching photo if somebody want to see http://www.imagesup.net/pt-014044890133.png

The page where i am using this code is standlone page, and is called by template_redirect wordpress action
My Code is

jQuery(document).ready(function($){
// Error showing here - Uncaught TypeError: undefined is not a function
 $('#tags').tagit({ availableTags: ["c++", "java", "php", "javascript", "ruby", "python", "c"]});
});

Also i am getting same error at tag-it.source code which is as follow

$.widget('ui.tagit', {

// Error showing here – Uncaught TypeError: undefined is not a function
options: {
allowDuplicates : false,
caseSensitive : true,
fieldName : ‘tags’,
placeholderText : null, // Sets placeholder attr on input field.
readOnly : false, // Disables editing.
removeConfirmation: false, // Require confirmation to remove tags.
tagLimit : null, // Max number of tags allowed (null for unlimited).

        // Used for autocomplete, unless you override `autocomplete.source`.
        availableTags     : [],

Read more here: WordPress Uncaught TypeError: undefined is not a function – Jquery Tag-it Plugin

Leave a Reply

Your email address will not be published. Required fields are marked *