submit();

submit();

Hi,

my code:
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script type="text/javascript" src="http://nevilel.storea.sk/admin/template/ajaxform.jquery.plugin.js"></script>
    <script language="javascript">
    $("#edit-comment-form").submit(function() {
    alert("ok");
    $(this).ajaxSubmit();
    return false;
    });
    </script>
    <div style="float: right;font-size: 20px;font-family: Century Gothic;color: #7DC40D" id="komentar-"></div>
    <h4 class="title"><a href="#" rel="nofollow">NickVK</a></h4>
    <p class="byline"><small>Posted on May 26th, 2010 19:34</small></p>
    <div class="entry">

    <form action="/log.php" id="edit-comment-form" method="post">
    <textarea name="comment" style="border: 1px;border-style: double;border-color: #7DC40D;overflow: auto;width: 400px;height: 150px;color: #666666;">Lorem ipsum dolor sit amet, consectetur adipiscing...</textarea>
    </div>
    <input type="hidden" name="action" value="edit" />
    <input type="hidden" name="id" value="1"/>
    <span style="float: left"><input name="html" type="checkbox" id="html"/><label for="html">HTML</label></span><p class="admin-links"><input type="submit" size="20" style="border: 1px double rgb(125, 196, 13); overflow: no;color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);height: 17px;font-size: 13px;" value="UpraviƄ" /></p>
    </form>




















This is me so that after pressing the "UpraviƄ" form sent by a plugin http://malsup.com/jquery/form/ and display alert with "ok".

But it's not working

Please help me, thank you.