ivirabyan/jquery-mentions — pull request #6 by pergardebrink (2014-09-22 19:01:38+00:00)
Title: Added new function setValue

This was I function that I needed in order to set the value after it had been initialized. Maybe it could be useful for others as well? I'm new to GitHub so I apologize if I'm doing this pull request wrong.. ;)

$('.mentions').mentionsInput('setValue', 'Hey @[alex](user:1)');

I also fixed a bug in the init function that checks if it's an INPUT, TEXTAREA element