fadeout success msg after some time delay once the div appear
<p>I have a form where on submit i want to show a success msg ,and once it appear i want to fadeout.I am using this code,but not working,I am using live because on load that div is not present,on successful submission of form I am loading that div,hope so my words are clear,any help ll be great.   </p>

<pre><code>$(".formsucessmsg").live(function () {
    $(".formsucessmsg").fadeOut("slow");
});
</code></pre>
