Answers for "how to remove item from list based on attribute not exist in jquery"

14

remove attribute jquery

$("button").click(() => {
  $("div").removeAttr("id"); // <div id='12' class='nice'></div> --> <div class='nice'></div>
});
Posted by: Guest on March-23-2020

Code answers related to "how to remove item from list based on attribute not exist in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language