Filtering inputs by value
<p>I have HTML construction like this </p>

<pre><code>&lt;div class="qn-block"&gt;
    &lt;a href="#" class="remove"&gt;&lt;/a&gt;
    &lt;input type="text" class="quantity-number" name="quantity-number" value="2" /&gt;
    &lt;a href="#" class="add"&gt;&lt;/a&gt;
    &lt;a href="#" class="refresh-q"&gt;Refresh&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>For inputs with value > 1 i have to disable ".refresh-q". For inputs with value = 1 disable ".refresh-q" and ".remove".
How can I achieve this? </p>
