From 4ab5bb823cfb2d7ac804acee46d9e908c8d85a3c Mon Sep 17 00:00:00 2001 From: Mark Jubenville Date: Sat, 12 Mar 2022 03:32:18 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d372c01..d546126 100644 --- a/README.md +++ b/README.md @@ -48,18 +48,18 @@ by clicking on the tag. * The list of tags may be initialized in 1 of 3 ways: -1. By passing arrays of tag names as options to the plugin + 1. By passing arrays of tag names as options to the plugin ("availableTags" and "assignedTags"); or, -2. By supplying a "getURL" for the tags to be retrieved via AJAX. + 2. By supplying a "getURL" for the tags to be retrieved via AJAX. -When using this method, the server must supply a JSON formatted array + When using this method, the server must supply a JSON formatted array named "availableTags" and optionally an additional array named "assignedTags". -3. By supplying a "getURL" and initLoad: false. + 3. By supplying a "getURL" and initLoad: false. -When using this method, it will get the "assignedTags" from the array as in + When using this method, it will get the "assignedTags" from the array as in method 1. When the user writes a tag, it will query the server searching for similar tags.