childNode removeNode..
Posted: 2006 10 12 16:22 09
Code: Select all
var _cntLogElChild = _logEl.childNodes.length;
for(i=0; i<_cntLogElChild; i++)
{
_logEl.removeChild(_logEl.childNodes[i]);
}
에러: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://renewal.thespaceshop.co.kr/JHBlog/script/ajax.js :: UpdateLogin :: line 60" data: no]
소스 파일: http://renewal.thespaceshop.co.kr/JHBlog/script/ajax.js
행: 60
IE 에서는 잘되는구만 ㅠ 왜 에러나는지;;