text inputs selection with jQuery
Input type text selection with jquery http://aamirshahzad.net
HTML
<input type="text" value="Some test" />
JavaScript
$(document).ready(function () {
$(":text").css({
'background': 'green',
'color':'#fff'
});
});