How do I set maximum margin-top in jquery animation?
<p>I have the following code in jQuery, that animates a div marginTop. </p>

<p>How do I set it so that once the margin top is equal 900px, disable the click event?</p>

<pre><code>$("#tmbUp").click(function(){ 
$("#tmbHolder").animate({"marginTop": "-=100px"}, "slow");
});

$("#tmbDown").click(function(){
$("#tmbHolder").animate({"marginTop": "+=100px"}, "slow");
});
</code></pre>
