hailwood/jQuery-Tagit — pull request #24 by jsuwo (2011-12-17 19:48:46+00:00)
Title: Added maxTags and maxLength options

I had the need to limit the number of characters in a given tag, as well as limit the number of tags that the user can enter. I have implemented this functionality in the `maxLength` and `maxTags` options, updated the documentation, and added a demo of this functionality in `index.html` and `index.php`. Sample usage:

~~~~ javascript
// Limit tag length to 5 characters, and allow only 5 tags in total
$('#tags').tagit({
maxLength: 5,
maxTags: 5
});
~~~~