I am using jquery to display an error div, which is defined as:
<div id="Div1" style="color: Black; background-color:Orange; font: bold small 'trebuchet ms',helvetica,sans-serif;"></div>
Within the error method I call the Error Div as follows:
$("#Div1").html('');
$("#Div1").html('Failed to upload. Please try again.').fadeOut(2000, function () { $(this).remove(); });
Problem is that the error div gets called just once. What am I missing?
Try in fadeOut function: