ivirabyan/jquery-mentions — pull request #7 by pergardebrink (2014-09-22 19:08:24+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