Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove attribute jquery

$("button").click(() => {
  $("div").removeAttr("id"); // <div id='12' class='nice'></div> --> <div class='nice'></div>
});
Source by www.bitdegree.org #
 
PREVIOUS NEXT
Tagged: #remove #attribute #jquery
ADD COMMENT
Topic
Name
5+6 =