Trigger Jquery function onclick
<p>I have a Jquery function that I would like to trigger on or off from a mouse click.
The area to trigger the on state is an anchor tag with the class of 'inline_sprite' and the area to trigger the off state is an anchor tag with the class of 'block_sprite'.
The Jquery function wraps several divs within a table.</p>

<p>I'm new to Jquery and unsure of the correct syntax, any help would be greatly appreciated.
Here is the jquery code:</p>

<pre><code>&lt;script src="js/jquery.js"&gt;&lt;/script&gt;
&lt;script&gt;
$(function(){
    $("#page-wrap").wrapInner("&lt;table cellspacing='30'&gt;&lt;tr&gt;");
    $(".post").wrap("&lt;td&gt;");
});
&lt;/script&gt;
</code></pre>
