jQuery change of checkbox
<p>I'm not sure if the change method is the correct to use.  What i want is if the checkbox is clicked(checked) the html of the textarea is var two and if the checkbox is unchecked the html of the textarea is var one.  How do i accomplish this?</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(function() {


$('.image').change(function() {
var one='type information here';
var two='type url here';

if($('.information').html=='type information here') {
$('.information').html('type url here');
} else {
$('.information').html('type information here');
}

});



});
&lt;/script&gt;


&lt;input type="checkbox" class="image"/&gt;
&lt;textarea class="information"&gt;type information here&lt;/textarea&gt;
</code></pre>
