title: Jquery UI modal dialog, set focus on first form element
body: <p>I am currently using the jquery UI modal box.</p>
  
  <p>I am wondering how I can set the focus onto the first form element of the modal box when opening the dialog I think this is meant to happen by default but for some reason it is not.</p>
  
  <p>How can I set the jquery ui to focus on the first form element when opening?</p>
  
  <p>here is the url to the page with the modal  dialog just click the Show the Dialog link
  <a href="http://satbulsara.com/NSJ-LOCAL-02-06/eqs1.htm" rel="nofollow noreferrer">on this page</a></p>