Jquery function not defined
<p>I have a problem with loading this code. I am sure its something to do with noConflict but i cant seem to get it right.</p>

<pre><code>$(document).ready(
   function spouseName() {
      if ($('#maritalstatus').val() == 'married') {
         $('#spousename').attr("disabled", false);
      } else {
         $('#spousename').val('');
         $('#spousename').attr("disabled", true);
      }
   }
);
</code></pre>

<p>by the way, it works on IE but not FF</p>
