hello I have a problem with the css styles jquerymobile
This is the function to imprimer results after clicking a button:
printResult function (olist) {
innerHtmlText var = getHtml (olist);
alert (innerHtmlText);
IDIV var = $ (result). append (innerHtmlText);
alert ("before refresca1" + IDIV);
$ ('# result ul li'). listview ("refresh");
alert ("after refresca3");
}
Here the results are printed in a list in this layer
<div id="result"> </ div>
html printing is as follows
<a <li> href='index.html'> <img src = 'http://images.webcams.travel/thumbnail/1194624090.jpg' height = '12% 'width = '18%' / > <b> Caldones </ b> </ a> </ li> </ ul>
the result is displayed but the styles do not take. javascript instruction fails $ ('# result ul li'). listview ("refresh"), I've also tried with $ ('# result'). listview ("refresh"); useless
please someone help me?