I cannot get this working correctly, actually at all. What I have so far works but I want to fade in a message and then fade it out. After it has faded out, I want to remove the div completely.
Can someone tell me what I am missing here?
var div = $('<div>').attr('id', 'error').html('Cannot Be Blank');
$('body').append(div);