title: Checkbox to stay checked after refresh/submit and
body: <p>if so to trigger a js function.
  I can make a checkbox stay checked with value and checked="checked" on page refresh and for my submit the following...</p>
  
  <pre><code> &lt;input type="checkbox" name="check" value="checked" 
   &lt;?php if($_POST['check'] ==    'checked'): ?&gt;checked="checked"&lt;?php endif; ?&gt; /&gt;
  </code></pre>
  
  <p>thou neither of this remember to trigger the js function.</p>
  
  <p>Here is my function and what I try to accomplish. 
  <a href="http://jsfiddle.net/melbourne/s5AXZ/" rel="nofollow">http://jsfiddle.net/melbourne/s5AXZ/</a></p>
  
  <p>My only choices are what Im asking you or to show and post new comments via ajax.. still the refresh problem will remain but the refresh will not be needed so much. In a nutshell Im sticking with my first question since ajax posting and showing new comments its out of my league. 
    Thanks.</p>