remove dependency on jquery, use feature test. note this does not behave as expected with readonly inputs (will not actually select contained text)