So here's my problem, I used .removeAttr() as a work around in disabling inline style, now there's an instance where I need restore the attribute that i had removed. Is it still possible? or what can you suggest alternative solution i could use.

The trigger for my removeAttr() is media query from my browser. when the browser is being resize, the position of the element in the dom also change. By default, my html has an inline style that is being used. But when it is resize down, it should move the element on a different postion and when it returened to the original scale or in a wider view, it should restore the removed attribute as well. 

```
var delay = (function(){
    var timer = 0;
    return function(callback, ms){
        clearTimeout (timer);
        timer = setTimeout(callback, ms);
    };
})();

jQuery(function() {

    var pause = 100; // will only process code within delay(function() { ... }) every 100ms.

    jQuery(window).resize(function() {

        delay(function() {

            var width = jQuery(window).width();

            if( width >= 958 && width <= 1400 ) {
                if(jQuery(".box1 #move_me").length == 0) {
                    // needs to restore the removed "style" attribute
                    jQuery("#move_me").appendTo(jQuery(".box1"));
                }
            } else if( width >= 768 && width <= 959 ) {

            } else if( width >= 480 && width <= 767 ) {
               jQuery("#move_me").insertAfter(".box2 .insert_below").removeAttr("style");
            } else if( width <= 479 ) {
               jQuery("#move_me").insertAfter(".box3 .insert_below").removeAttr("style");
            }

        }, pause );

    });

    jQuery(window).resize();

});

```

jsfiddle: <http://jsfiddle.net/EFzy7/embedded/result/> (resize to see changes) - if you notice, by default if you're in a wider screen (eg, above 960px or 1200px), "hello world" should be in red and is in an arial font. when you resize, it moves to another div/box. But when your resize it back to the wide screen, the text is not in it's original look (red-arial).

Is there a way i can restore the removed attribute? if no, what do you think is a work around to my problem?

Thank You.