How can I create an unordered list dynamically using jQuery? I read the image file path (href and src) from an XML file.
<ul>
<li><a href="images/test1.png"><img id="imageSlide" src="images/test1.png" alt="" /></a></li>
<li><a href="images/test2.png"><img id="imageSlide" src="images/test2.png" alt="" /></a></li>
</ul>
It should create unordered list based on number of XML nodes in the XML file.