$(function() {

    $("input.select").click(
        function(){
            $(this).select();
        }
    );
	
    $("textarea.select").click(
        function(){
            $(this).select();
        }
    );

});
