title: how to add an element and don't lost de style
body: <p>I'm new in JQuery Mobile, and I'm trying to do a list of elements and its atributes.
  This is my code:</p>
  
  <pre><code>$(document).ready(function(){
                var text = '{"productes":[' +
                '{"Nom":"Lays","Tipus":"Patata","Categoria":"Aliments","PreuCompra":"0,35","PreuVenda":"1","Comprar":"S&amp;iacute;","Vendre":"S&amp;iacute;","UdM":"kg" },' +
                '{"Nom":"Magdalenes","Tipus":"Pasta","Categoria":"Aliment","PreuCompra":"1","PreuVenda":"1.25","Comprar":"No","Vendre":"S&amp;iacute","UdM":"kg" },' +
                '{"Nom":"Espaguetis Gallina Blanca","Tipus":"Pasta","Categoria":"Aiment","PreuCompra":"0,40","PreuVenda":"1,30","Comprar":"S&amp;iacute;","Vendre":"S&amp;iacute","UdM":"gr" },' +
                '{"Nom":"Fairy","Tipus":"Rentabaixelles","Categoria":"Neteja","PreuCompra":"0,40","PreuVenda":"1,30","Comprar":"No","Vendre":"S&amp;iacute;","UdM":"ml" }]}';
  
  
  var obj = jQuery.parseJSON(text);
                for (var i=0; i&lt;4; i++) {
          $("#llista").append("&lt;div data-role='collapsible'&gt; &lt;h3&gt;"+ obj.productes[i].Nom +"&lt;/h3&gt; &lt;p&gt;Tipus: "+ obj.productes[i].Tipus + "&lt;br&gt;Categoria: " + obj.productes[i].Categoria +"&lt;br&gt;Preu compra: " + obj.productes[i].PreuCompra +"&amp;euro;&lt;br&gt;Preu Venda: " + obj.productes[i].PreuVenda +"&amp;euro;&lt;br&gt;Comprar: " + obj.productes[i].Comprar +"&lt;br&gt;Vendre: " + obj.productes[i].Vendre +"&lt;br&gt;UdM: " + obj.productes[i].UdM +"&lt;/p&gt;&lt;button data-inline='true'&gt;Eliminar&lt;/button&gt;&lt;button data-inline='true'&gt;Editar&lt;/button&gt;&lt;/div&gt;");
      }
      $("#nou").click(function(){
           $("#llista").append("&lt;div data-role='collapsible'&gt; &lt;h3&gt;"+ obj.productes[0].Nom +"&lt;/h3&gt; &lt;p&gt;Tipus: "+ obj.productes[0].Tipus + "&lt;br&gt;Categoria: " + obj.productes[0].Categoria +"&lt;br&gt;Preu compra: " + obj.productes[0].PreuCompra +"&amp;euro;&lt;br&gt;Preu Venda: " + obj.productes[0].PreuVenda +"&amp;euro;&lt;br&gt;Comprar: " + obj.productes[0].Comprar +"&lt;br&gt;Vendre: " + obj.productes[0].Vendre +"&lt;br&gt;UdM: " + obj.productes[0].UdM +"&lt;/p&gt;&lt;button id='elim' data-inline='true'&gt;Eliminar&lt;/button&gt;&lt;button id='edit' data-inline='true'&gt;Editar&lt;/button&gt;&lt;/div&gt;");
      });
  </code></pre>
  
  <p>});</p>
  
  <p>When I click in "Nou element" (New element). It seems that the styles desapear. I don't understand</p>
  
  <p>Thank you!</p>