loopj/jquery-tokeninput — pull request #301 by cristiandouce (2012-04-11 20:41:57+00:00)
Title: Added 'onSelect' event callback

It was my need to have a callback when I clicked a token returning the original object.

As I didn't find in docs a way of doing it (I made a quick read though), I updated the code to allow a "onSelect" event callback.