Hi All,

I know well its how difficult to play with JQuery mobile and generate the Dynamic Lists.

I had made it feasible withe below snippet of code.

function init()
{
type: “GET”,
$.ajax({
url: “BirthdayInvitations.xml”,
dataType: “xml”,
success: function ParseXml(xml)
{
//var $ul = $(#
//var $ul = $(“

    “).data(“role”, “listview”);
    $(xml).find(“event”).each(function() {
    $(“#mylist”).append(‘

  • ‘ +this.textContent + ‘
  • ‘);
    });
    $(“#mylist”).listview(‘refresh’);
    }});

    }

    If any queries do post your comments.

    Advertisements