jQuery plugin for getting selection or replace a text in input field and textarea