Added support to read the position Start and Position End of the caret.
Added better support for IE8.
Added a check to only allow Selection on tags "INPUT".