Have a code that updates a textarea:
var input_baseprice = $('.active .input_baseprice').html();
$('[name=baseprice]').html(input_baseprice);
However, when there are many .input_baseprice elements, the textarea gets content only from the first one.
How can I automate creation of input_baseprice* to get:
$('[name=baseprice]').html(input_baseprice + '<br>' + input_baseprice2 + '<br>' + input_baseprice3 ...);
?