Abraham Garcia in Javascript/jQuery   Monday, November 25 2019

Remove All Matching Classes From Page jQuery

How to Remove All Classes from HTML DOM. This matches for similar classes and removes them.

This is a small snippet on how to remove all classes from matched class on jQuery.  $('#builder [class*="ui-id-"]').removeClass(function(i, j) { return j.match(/ui-id-/g).join(" "); }); Full Documentation: https://stackoverflow.com/questions/17691932/jquery-remove-all-matching-classes

Continue reading