jcadima
7/8/2015 - 6:31 PM

Jquery Find this Class, Remove that Class, Replace with another Class

Jquery Find this Class, Remove that Class, Replace with another Class

// ref:
// http://stackoverflow.com/questions/5706752/replace-class-name-on-div-with-multiple-classes

jQuery.noConflict();

jQuery(document).ready(function() {
	var replace_this = 'col-lg-3';
	var with_this    = 'col-lg-12';
	jQuery('.' + replace_this).removeClass(replace_this).addClass(with_this);	

});  // end ready()