In the code below I get the values stored in several <textarea>
with the use of the each
function.
But I would like to do the same in a similar way, using a for
.
Can I get these values by scanning with for
, how should I do it?
$("textarea[name='arraytextArea[]']:not(:first)").each(function () {
alert($(this).val());
});