Form submit using jquery & passing values
<p>I want to accomplish the following using jQuery:</p>

<pre><code>frm_rooms.action="create_rooms.php?action=Save";
frm_rooms.submit();
</code></pre>

<p>I tried following jQuery but it doesn't work:</p>

<pre><code>$('#frm_rooms').submit(function(event) &lt;br/&gt;{
    $.post("create_rooms.php", { action: "Save" } );
});
</code></pre>
