Selecting paticular class in jquery
<p>I was wondering how i would go about selecting this class and changing it to a span12 once the screen size is below 1000px using jquery</p>

<pre><code>&lt;div class="span4 minus65"&gt;
</code></pre>

<p>I am using </p>

<pre><code>$(window).resize(function(){
    if($(this).outerWidth() &lt; 1000){
        $('.span4 minus65').attr('class',"span12");
    }

});
</code></pre>

<p>but nothing changes when the screen width is below 1000px</p>
