Answers for "how to remove more than one attribute using jquery"

0

how to remove more than one attribute using jquery

Refer below example from adding multiple attribute to removing same attributes from an html element

This is for adding attribute
$("your_element_selector").attr({"checked":true,"disabled":true});

And here example of removing both attribute
$("your_element_selector").removeAttr("checked disabled");

I hope it will help you.
Thank you.
Posted by: Guest on April-28-2021

Code answers related to "how to remove more than one attribute using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language