📌  相关文章
📜  如何使用 jquery 删除多个属性 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:13.329000             🧑  作者: Mango

代码示例1
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.