📅  最后修改于: 2022-03-11 15:04:13.329000             🧑  作者: Mango
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.