how to show/hide submit button on array checkbox
<p>how can i apply this <a href="http://jsfiddle.net/8YBu5/24/" rel="nofollow">http://jsfiddle.net/8YBu5/24/</a> into my codes shown below. it hides only my submit button even the checkbox is checked or unchecked as the form load...</p>

<pre><code>foreach($results as $result) {
&lt;input type ='checkbox'  name ='studid[]' value='". $result['studId']."' id='checky' &gt;
echo ' ', $result['fname'],'  ',$result['mname'],' ',$result['lname'],'&lt;br/&gt;';
}
        &lt;input type="submit" name="select"  value="Select" id='postme' &gt;
</code></pre>
