function parse2dom(str){ var div = document.createElement("div"); if(typeof str == "string") div.innerHTML = str; return div.childNodes; };
时间: 2024-10-13 03:05:17
function parse2dom(str){ var div = document.createElement("div"); if(typeof str == "string") div.innerHTML = str; return div.childNodes; };