Forum und email

DOMElement->removeAttribute()

(No version information available, might be only in CVS)

DOMElement->removeAttribute() — Removes attribute

설명

DOMElement
bool removeAttribute ( string $name )

Removes attribute named name from the element.

매개변수

name

The name of the attribute.

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

오류/예외

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.