Response title
This is preview!
$('ul').listview('refresh');
Does someone have use jquery mobile listview from dynamic xml content?
Thank you for your help
Code:
----------------------------------------------
<script>
$(document).ready(function()
{
$.ajax({
type: "GET",
url: "MY XML FILE",
dataType: "xml",
success: parseXml
});
});
function parseXml(xml)
{
$(xml).find("site").each(function()
{
$("#output").append("<li> <img src='http://www.virtualgx.com/fra/" + $(this).find("thumbnail").text()+"' width='100' height='85' border='0' /> <h3>" + $(this).find("name").text()+"</h3><p>"+ $(this).find("url").text());
});
}
</script>
----------------------------------------------
© 2013 jQuery Foundation
Sponsored by and others.