Wednesday, May 23, 2012

jQuery how to reverse a remove() event

I have this code:

$(window).resize(function() {
if($(window).height() < 768) {
$('div#navigation ul li br').remove()
} else {

Is it possible to reverse the remove event on else? I need to have those
tags in the same place as before the action.

No comments:

Post a Comment