jquery trigger change event on checkbox
<p>Is it possible to trigger change event on a checkbox using javascript/jquery?</p>

<p>Something like this (I run triggerChange on click of a button):</p>

<pre><code>&lt;label&gt;&lt;input type="checkbox" id="chk"/&gt;Label for chk&lt;/label&gt;

&lt;script&gt;
function triggerChange(){
    $("#chk").trigger("change");
}
&lt;/script&gt;
</code></pre>

<p>When I run the above code I get this error: "<strong>trigger is not a function</strong>".</p>
