title: jquery ui datepicker give focus to the input without loading the calendar again in IE?
body: <p>I know that jquery ui datepicker loses focus if the date is selected with a mouse. I want to able to give focus to that input field. So i did something like this
  <pre><code>    $("#patientDob").live("click", function() {
                $("#patientDob").datepicker({
              onSelect: function() {<br>
                  this.focus();<br>
              // selecting a date moves the page, so remove the href attribute<br>
                  $(".ui-datepicker a").removeAttr("href"); </p>
  
  <pre><code>        },  
  
                          changeMonth: true,
                          changeYear: true,
                          duration: 'fast',
                          showOn: 'focus' 
      }).focus();
  });
  </code></pre>
  
  <p></pre></code></p>
  
  <p>This does gives the focus to the input field, but in IE it keeps on loading the calendar again. It does not do that in firefox or chrome. How can i be able to give focus to the input field without loading the calendar again and again in IE? </p>
  
  <p>Also, if i make a input field readonly and after selecting the date in IE the field loses focus and if i try to press backspace it takes me to the previously visited page. 
  any help is appreciated!</p>