Hai falks,
i have a button in a page. when click, it should fade out slowly, then should go back to previous page.
with below code what happens is, it just go back immediately without fading out.
if i comment (//) the parent.hisotry.back line, then fadeout works perfectly. whats the problem?
<script>
$("#back").click(function () {
$("#print").fadeOut("slow");
parent.history.back();
return false;
});
</script>