$(document).ready(function () {
    $('textarea.snipet').click(function(){
        this.select();
    });
});