copy paste through mouse in jquery-token input not working but works with ctrl+v .
how to bind mouse right click to jquery token input field.
tried various ways but not working
$(document).mousedown(function(event) {
if(event.which == 3)
{
$("#keywords").trigger('click');
}
});
$('#keywords').on('paste',function() {
$(this).trigger('keypress');
});
<input class="input-xxlarge" ng-model="search_data" id="keywords">
I think instead of bind mouse right click, you should bind('input propertychange') to check any changes in the textbox.