jquery if div not id
<p>i want to cut the price off to all input value in all divs, except only one <code>div sale_wrap</code>. how to make exception with jquery?</p>

<pre><code>&lt;div id="one_wrap"&gt;
  &lt;input type="checkbox" name="1" value=""&gt;
  &lt;input type="checkbox" name="1" value=""&gt;
&lt;/div&gt;
&lt;div id="two_wrap"&gt;
  &lt;input type="checkbox" name="2" value=""&gt;
  &lt;input type="checkbox" name="2"" value=""&gt;
&lt;/div&gt;
&lt;div id="sale_wrap"&gt;
  &lt;input type="checkbox" name="3" value=""&gt;
&lt;/div&gt;
</code></pre>

<p>jquery:</p>

<pre><code>if($("div").attr("id") != "sale_wrap") {
  t_balance;
} else {
  var sale = t_balance*((100-window.discount_p)/100);
  t_balance = sale;
}
</code></pre>
