$element->removeAttributes()

$element->removeAttributes() – Removes an attributes

Synopsis

$element->removeAttributes ( mixed $attrs )

Description

use this to remove attributes from the tag when the element is rendered, It may be easier to access the attributes array directly and assign the value to false.

Parameter

  • $attributes name or array of names to remove from tag

Throws

throws

Note

This function can not be called statically.