Get value of hidden input field in JS
<p>I need to get the value of a hidden input field using JS,</p>

<pre><code>   var credoff = parseInt($(this).children('input.credoff:hidden').val());
</code></pre>

<p>which works fine in FF but does not work in IE, the input im talking of is the following...</p>

<pre><code>&lt;input type='hidden' value='$row-&gt;coff' class='credoff' name='credoff'/&gt; 
</code></pre>
