Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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.
 
PREVIOUS NEXT
Tagged: #remove #attribute #jquery
ADD COMMENT
Topic
Name
4+1 =