Trying to get some spaces and/or breaks in the textarea that has its content added dynamically depending on the amount and type of input based o values. All works as it should except the textarea where all the values are added together as a string without having any breaks or spaces. Tried adding divs around each of them but the textarea doesn't allow them and thus doesn't display it.
Hopefully someone can help me further with this. Any help is much appreciated.
html:
<select class="categoryName1 changeFields" name="chipsCategory">
<option value="Category_1">Category 1</option>
<option value="Category_2">Category 2</option>
<option value="Category_3">Category 3</option>
</select>
<select class="chipsTaste1 changeFields" name="chipsTaste">
<option value="brand1">Brand 1</option>
<option value="brand2">Brand 2</option>
<option value="brand3">Brand 3</option>
</select>
<textarea id="pasteTotal"></textarea>
js:
var allOrders = $('.changeFields').val();
$('#pasteTotal').append(allOrders);
Thank you very much for all possible helps.
Sorry for the big code Dump, and thanks for the help.