Code that should be written ..
<script type="text/javascript" src="JScript.js"></script>
<script type="text/javascript"> $(document).ready(function() { $('#<%= Label1.ClientID %>').fadeOut(1500, function() { $(this).html(""); //reset the label after fadeout }); }); </script> |
Drag and drop a label on to the form
<asp:Label ID="Label1" runat="server" />
|
Sample JavaScript that should be included was attached. Try it and let me know if any issues.