jQuery submit button and button named submit

Suppose you have a button named "submit":

<form method="post" action="" id="myForm">
    <fieldset>
        <input type="text" name="myField" />
        <input type="submit" name="submit" value="submit form" />
    </fieldset>
</form>

And you want to submit this form with jQuery:

<script type="text/javascript">
    SomeFunction()
    {
        $("#myForm").submit();
    }
</script>

That won’t work since you have a button named ‘submit’ which then screws up the jQuery function. If you rename it to ‘submitForm’ or something it will work fine.