Skip to main content Skip to docs navigation

Update the attribute of the element using below commands.

On this page
Attr::Description
Attr::set::prop::valueNow update value of attribute using attribute syntax.
  • Attr::set::disabled::false <input disabled="true"> -> <input disabled="false">
  • Attr::set::target::_blank <a> -> <a target="_blank"> to open links in new tab
Attr::remove::propNow remove attribute using attribute syntax.
  • Attr::remove::disabled <input disabled="true"> -> <input>