title: Disabling input tags and focusing on submit button
body: <p>I have a code here for disabling the radio on a form and focusing on the submit button right after the timer expires. But this code seems not to work. Can you tell me what's wrong with my code or if you have any alternative with this? I'm using jquery timeTo plugin as my timer ..</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
  $('#countdown').timeTo(5000, disablefocus();  
    }); 
  });
  
  function disablefocus(){
  $(document).ready(function() {
  $('input[type=radio]').attr('disabled', true);
  $('#submitWidget').focus();
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>----></p>
  
  <pre><code>&lt;div id='countdown'&gt;&lt;/div&gt;
  &lt;form&gt;
  &lt;input type='radio' name='radio1' value='father'&gt;
  &lt;input type = 'submit' id ='submitwidget' value='submit'/&gt;
  &lt;/form&gt;
  </code></pre>