JQuery-input-text-selection-toggler is a project mainly written in ..., it's free.
jQuery input text selection toggler