dynamical nested list problem
hello,
i add dynamic a second list to my list. the problem is dat there will be no automatic reload from the second list. only if i hit the list entry twice the new site opens.
what can i do to click on the first list, the content loads via webservice and the second list will added automatic to the first list as sub entry and opens like a nested list???
$('[data-role="contact"]').live('click tap', function () {
$('#first').append('<ul><li>Next Page Entry<\/li><\/ul>');
$("#words-list").listview();
$("#words-list").listview('refresh');
});
if i call the function twice the Next page entry opens. what im doing wrong?
thx for your help!