var n=document.getElementById("aa").outerHTML;

 

aa是div的id

声明:此文系舞林cuznwww.wulinlw.org)原创稿件,转载请保留版权

et_highlighter