createDocumentFragment(); fragment.innerHTML='<p>test</p>'; console.log(fragment.childElementCount);//0. You will find that INNERHTML does not get the child ...
確定! 回上一頁