$('#envelop .modalDialog div[id]')
此div返回数据
<div id= "0001">
<ul>
<li>Automatic XML Generation</li>
<li>STF Generation</li>
</ul>
</div>,
<div id= "0002">
<ul>
<li>Document management system</li>
<li>PDF And HTML Publish</li>
</ul>
</div>
div id = 0001且div = 0002是动态生成的
那么如何使用jquery或javascript将div转换为html