i able to show a status message and works without any issue but there is one usability issue.
once it shows the message the div disappears but it still holds the space, how can i remove that space or move up the my label/textbox up?
<div id="status"></div>
<asp:Label runat="server" ID='Label1' >Name:</asp:Label>
<asp:TextBox ID="txtName" runat='server'></asp:TextBox>
......
......
script:
$("#status").fadeTo(500, 1, function() { $(this).html("You are now registered!").fadeTo(7000, 0); })
Add another callback after the fadeout to hide the div.
(New code is the last callback,
function() { $(this).hide() }at the end