Dynamically added checkbox inside jQuerymobile list view is not rendering properly.
Find below the unorder list. I have added a sample listitem in the HTML itself.
<ul data-role="listview" id="ul_address_list" >
<li data-icon="false"><a href="#" class="add-container">
<label class="add-container" data-corners="false">
<input type="checkbox" value="true" />
<label class="lbl_add-container">
<h3>Header</h3>
<p>Content</p>
</label>
</label>
</li>
</ul>
Below is the output for the above code. Which is rendering correct.

Now I am trying to add the list item dynamically using append function using jQuery.
$.each(obj_address_list, function (ctr, obj) {
$('#ul_address_list').append('<li data-icon="false">' +
'<a href="#" class="add-container">' +
'<label class="add-container" data-corners="false">' +
'<input type="checkbox" value="true" />' +
'<label class="lbl_add-container">' +
'<h3>Header</h3>' +
'<p>content</p></div>' +
'</label>' +
'</label>' +
'</a>' +
'</li>');
});
$('#ul_address_list').listview('refresh');
below is the output for the above code. Not displayed correctly.

Why the listitem added dynamically is not rendering properly?