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.