Jquery change background-image from a button
<p>I am trying to chance background image of a divison from a button without using function.</p>

<pre><code>&lt;input onclick="jQuery('#Div1').hide();jQuery('#Div2').show(); jQuery('#main').css("background-image", "url('../../Content/images/clear.png')");" type="button" class="t-button" style="width: 250px" value="Text" /&gt;&lt;br /&gt;
</code></pre>

<p>Hide and show works well, but when I added change the background image it did not work.  I have several buttons on the same page, and would like to change images accord to each button.
Thanks in advance</p>
