Jquery: mouseover and mouseout strangeness
<pre><code>$(document)
    .mouseover(function(event) {  
        if ($(event.target).parents('#myunique').length){ 
            event.preventDefault();
        }else{ 
        $(event.target).addClass('myoutlineElement');
        }
    })
    .mouseout(function(event) {
        if ($(event.target).parents('#myunique').length){  
            event.preventDefault();
        }else{      
        $(event.target).removeClass('myoutlineElement');  
        }
    })   
</code></pre>

<p>I basically have a red border highlight on all elements on a given page (externally loaded via proxy).</p>

<p>Observing through firebug, it seems that addClass is not triggered properly. it adds an empty class (class="") in the given element. </p>

<p>Figured it out. Use .css() instead of addClass</p>
