On deleting rows through <asp:Button> click , i am showing an <asp:Panel> containing some label to show a message "Records deleted" , now i want when this message is shown , it automatically fade outs after 2 seconds ...
i tried to do this way in my validation.js file which i embedded in my master page ,
$("#DelAllExisting").click(function () {
$("#MainMessagesPanel").fadeOut("slow");
});
but it did'nt fades out ...