simplemodal or my brain bug?
- by g0sha
Sorry for my Eng.
I`m trying to use simplemodal in my project authorization form, but here is a little trouble:
<javascript>
function usr_init()
{
$('div#usrinfo').html("test");
}
</javascript>
<html>
<a href="#" onClick='$("#authdiv").modal();'>TEST!</a>
</html>
In authdiv I have a form with onSubmit="usr_init()";
But after automatic close #usrinfo changes to previous value. What to do with this problem?