<p>Click on the grey box below to see it bounce.</p> <div id="box" style="width: 100px; height: 100px; background: #ccc;"></div> <script> $("#box").click(function () { $("#box").toggle("bounce", {times: 3}, "slow"); }); </script>