jQuery 中有没有一种方法可以即时创建和提交表单。
像下面这样的东西。
<html>
    <head>
    <title> Title Text Goes Here </title>
    <script src="http://code.jquery.com/jquery-1.7.js"></script>
    <script>
        $(document).ready(function(){alert('hi')});
        $('<form/>').attr('action','form2.html').submit();
    </script>
    </head>
    <body>
        Content Area
    </body>
    </html>
这应该有效还是有不同的方法来做到这一点?