Hello all,
<div id="regWarnMsg">Hello world.
<span id="closeerrordiv"><a>×</a></span>
</div>
jQuery
$('#closeerrordiv').click(function() {
$(this).parent().animate({opacity: 0}, 'slow', function() {
$('#regWarnMsg').slideUp('slow');
});
});
$('#regWarnMsg').text(responseText.msg);
$('#regWarnMsg').show('slow');
When the user clicks #closeerrordiv, the #regWarnMsg is closed.
Q1> Later, I need to force to show the #regWarnMsg. I don't know why the child (i.e. #closeerrordiv) of #regWarnMsg doesn't show up at the same time.
Q2> Why the text doesn't show up either?
Thank you