摘要: [javascript]假设要获取sdfdsdfsd 的 P的outerHTML代码:var _p = document.getElementById('outerID');_P = _P.cloneNode();var _DIV = document.createElement();_DIV.appendChild(_P);alert(_DIV.innerHTML); 就是P的outerHTML... 阅读全文
posted @ 2010-08-24 08:17 7hihi 阅读(124) 评论(0) 推荐(0) 编辑