removeAttr() public method

Remove an attribute from each of the matched elements. If $name is NULL or *, all attributes will be deleted.
public removeAttr ( string | array $name ) : Query
$name string | array
return Query
Example #1
0
 /**
  * Remove the attribute(s) on all selected element nodes
  *
  * @see ArrayAccess::offsetUnset()
  * @see FluentDOM::removeAttr()
  * @example properties/attr-unset.php Usage: Remove attribute properties
  * @param string|array $name
  */
 public function offsetUnset($name)
 {
     $this->_fd->removeAttr($name);
 }