var textarea=$('.editor'); alert(textarea.val()) $.each(textarea, function(key,value) { alert(value.val()) });