Can't change action of form using jquery
<p>i'm trying to change the action of a form and everything works fine, up until changin the action of the form, don't know what's going on? Any help is greatly appreciated.</p>

<pre><code>&lt;script type="text/javascript"&gt;
function goToMeetingW() {
jUrl = "https://www.gogoo.com/join/";
$('#meetID').val($('#MeetingID').val());
meetID = $('#meetID').val();
fAction = jUrl + meetID;

$('#goTo').attr("action",fAction);
}
&lt;/script&gt;
&lt;form action="test.html" method="post" name="goTo" id="goTo"&gt;
&lt;input type="hidden" name="meetID" id="meetID" value="0"&gt;
&lt;/form&gt;
</code></pre>

<p>I get an $('#goTo')... undefined error. Thanks all.</p>
