removeAttribute

Description

Remove an attribute from an element.

Arguments

If you use external arguments, use the argument's name. If you use non-external arguments, use the order of the arguments as written here:

attributeName

The name of the attribute to remove. For example 'disabled'.

Examples

  • Un-disable another element on click: cq_click_removeAttribute-disabled_id-otherElement

Last updated

Was this helpful?