I've following <div>-element:
and creating dynamically via Javascript function following HTML code and insterting it into the <div>-element
The output wasn't rendered. How could I render it? Every function I've tried of the framework did't redner the complete <div> only parts :(
<div id="data"></div>html += " <ul data-role=\"listview\" data-style=\"inset\" data-type=\"group\">";
html += " <li>";
html += " <ul>";
html += " <li data-icon=\"play\"><a href=\"../play-music.html\">Play Music</a></li>";
html += " <li data-icon=\"cart\"><a href=\"../music-store.html\">Buy Music</a></li>";
html += " </ul>";
html += " </li>";
html += " </ul> ";
document.getElementById("data").innerHTML = html;