Sign in


Remove an attribute value on the selected elements.


neon.removeAttribute(string attr)


The name of the attribute to remove.


This method should be executed on a selection of elements. Please see the .select() method.

Return value

This method is chainable. It returns a copy of the Neon object on which it was called.


This method allows you to remove an attribute value on one or more elements at once.

It is currently equivalent to calling .setAttribute() with an empty string ("") as the second parameter.

Many browser and DOM HTML inconsistencies are worked around for your convenience. Please see the .setAttribute() method for further information.