ahamilton9
7/7/2015 - 5:00 PM

Repainting an element with jQuery

Repainting an element with jQuery

// Repaint an element
$.fn.repaint = function() {
	var display = this.css('display');
	this.css('display', 'none');
	this.css('display', display);
};