Hello Experts
For the first time the List is Working fine.But When I go to Home Page and again go to the required page the List is not working in HWC SUP 2.1.3.
I am using the below code to refresh
if (destScreenKey == "Relocation_Service_Status") {
var listview = $('div[id="mainServiceStatusList"]');
//Try to remove it first if already added
if (listview.length > 0) {
var ul = $(listview[0]).find('ul[data-role="listview"]');
if (ul.length > 0) {
htmlOutput = htmlOutput.replace('<div id="mainServiceStatusList"><ul data-role="listview">');
ul.html(htmlOutput);
//alert("1");
ul.listview("refresh");
//alert("2");
}
} else {
$('#Relocation_Service_StatusForm').children().eq(2).hide();
$('#Relocation_Service_StatusForm').children().eq(1).after(htmlOutput);
}
}
But Still it is not working.
Can any body share some idea to fix the issue.
Thanks to all.