Solution in JFIDDLE
http://jsfiddle.net/VPrEZ/3/[
^]
<script type="text/javascript" src="JScript.js"></script>
<script type="text/javascript">
$(document).ready(function() {
setTimeout(function() {
fadeLabelOut();
}, 5000);
});
function fadeLabelOut() {
$('#<%= myLabel.ClientID %>').fadeOut(3000, function() {
$(this).html(''); //reset the label after fadeout
});
}
</script>
Download the script and include the script and test this works fine for me
http://docs.jquery.com/Downloading_jQuery[
^]
Or include the script as specified and try this
$(document).ready(function() {
$('#<%= Label1.ClientID %>').fadeOut(3000, function() {
$(this).html("");
});
});