Jquery Toggle working in IE/Chrome, Undefined in FF
<p>I seem to be having the opposite problem as everyone else, my Javascript isn't working in Firefox. Firebug is telling me the id is undefined, but it isn't, unless FF doesn't recognize  tags as objects to be controlled by javascript like IE/Chrome? </p>

<p>PHP Looks like this:    </p>

<pre><code>echo '&lt;a href="javascript:void(0)" onclick="toggle(details_'.$record_details.')"&gt;Details&lt;/a&gt;';  
echo '&lt;tr style="display:none" id="details_'.$record_details.'"&gt;';
echo '&lt;td class="noborder" colspan="7"&gt;';
echo '&lt;div&gt;';
   Bunch of Content Here.
echo '&lt;/div&gt;';
echo &lt;/td&gt;;
echo &lt;/tr&gt;;
</code></pre>

<p>Javascript is just</p>

<pre><code>function toggle(id){
$(id).toggle();}
</code></pre>

<p>The Sections toggle correctly in Both IE and Chrome, but Firefox returns "details_0 is not defined" etc. for every single one. </p>

<p>Any Suggestions? It's actually crashing at the call, weird enough because I put an Alert in the first line of toggle and it never fires, so it's not even making it that far. What am I missing? </p>

<p>thanks! </p>
