how to remove more than one attribute using jquery

Solutions on MaxInterview for how to remove more than one attribute using jquery by the best coders in the world

showing results for - "how to remove more than one attribute using jquery"
Luna
11 Feb 2020
1Refer below example from adding multiple attribute to removing same attributes from an html element
2
3This is for adding attribute
4$("your_element_selector").attr({"checked":true,"disabled":true});
5
6And here example of removing both attribute
7$("your_element_selector").removeAttr("checked disabled");
8
9I hope it will help you.
10Thank you.