How do I tabulate a sentence and put it one underneath the other? Let me explain: I'm using this code to add inside a div:
<script type="text/javascript">
$(document).ready(function() {
$('#cbo_vitrine').change(function(){
itemsel = $("#cbo_vitrine option:selected").text();
if(itemsel == "REF-01")
$("#det_prod_vitrine").append("FLOR BATIDO - MARROM - Nº: 23 ao 41 - R$34,99");
if(itemsel == "REF-02")
$("#det_prod_vitrine").append("MEDALHÃO - MARROM - Nº: 33 ao 44 - R$34,99");
//if(itemsel == "REF-...")
});
});
</script>
I select in a select and go adding with append. It's just getting kind of pummeled. Detail: I'm not bringing any database, but it's static. Does anyone suggest something more practical or guide me to tabulate ??? Thank you teachers.