canAppendChild method
Determines whether the Node.appendChild operation would make this document not compliant with the VAL_INCOMPLETE validity type.
canAppendChild(newChild )
Parameters
Node newChild
Node to be appended.
Returns
unsigned short. A validation state constant.
这对您有帮助吗?