clear and disable textbox when checkbox checked
<p>I can disable the textbox when the checkbox is selected, but I can't figure out how to clear the textbox if anything is in it. </p>

<pre><code>  &lt;input type="text" id="form_sc1"/&gt;
  &lt;input type="checkbox" id="form_setchange"/&gt;
</code></pre>

<p>JQuery  </p>

<pre><code>                $(document).ready(function(){
                 if($('input.form_setchange').is(':checked')){
                       $("#form_sc1").attr("disabled", "disabled");
                 }
</code></pre>