I have a page and i am using jquery tagit plugin which works great but i am trying to disable it when i click on a button, and have it have similar behavior to when i disable a select Dropdown like this:
$("#selectDropdown").val(0);
$('#selectDropdown').prop('disabled', 'disabled');
Is there anyway to disable and enable the jquery tagit Plugin programatically. I see there is a readonly option on the docs page so I tried doing something like this:
$("#locationTags").tagit({ "readOnly": false });
but that doesn't seem to do anything.
Any suggestions?