diff --git a/README.markdown b/README.markdown index 7e8569bd..c2a16ba5 100644 --- a/README.markdown +++ b/README.markdown @@ -278,7 +278,7 @@ Clears the widget of all tags — removes each tag it contains, so the **beforeT ### tagInput The `` field which is used for entering new tags. It's a jQuery object, so you may use it to add a class or anything to it, e.g.: - $("#myTags").tagit("tagInput").addClass("fancy"); + $("#myTags").data("ui-tagit").tagInput.addClass("fancy"); ## Authors