mnTextSelector Quickly add callback functions for user-highlighted text with JavaScript. Initialize plugin jQuery('.class_name').mnTextSelector(); Add a callback jQuery.mnTextSelector.addOption('Show text in Alert()',function(e) { alert(e); });