Javascript issue
<p>I have a question regarding my button disappear</p>

<p>I've put an image as my button</p>

<pre><code>&lt;div id="button1"&gt;
   &lt;a href="javascript:example_animate('-=200px')"&gt;
      &lt;img src="images/button1.jpeg"&gt;
   &lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>that is animated with this function</p>

<pre><code>&lt;script language="javascript"&gt;
function example_animate(px) {
    $('#content2').animate({
        'marginTop' : px
    });
}
&lt;/script&gt;
</code></pre>

<p>and i can't get it disappear after doing this function with this script</p>

<pre><code>&lt;script language="javascript"&gt;
$("#button1").click(function () {
   this.visible = false;
});
&lt;/script&gt;
</code></pre>

<p>please help!</p>
