For text input I do:
$('input[type="text"]').each(function(){
$(this).attr('readonly','readonly');
});
But what should I do for textarea, to make it readonly.
For text input I do:
$('input[type="text"]').each(function(){
$(this).attr('readonly','readonly');
});
But what should I do for textarea, to make it readonly.