title: Jquery create text input element and append to form "field focus" does not work in Firefox -problem
body: <p>I have the following code (see below) which makes the field focus on the inserted text input. But this does not work in Firefox. So I cannot type any text in Firefox.</p>
  
  <pre><code>$('&lt;input/&gt;').attr({ type: 'text', id: 'test', name: 'test' }).appendTo('#form');
  </code></pre>
  
  <p>Is there any fix for this?</p>
  
  <p>Thanks in advance!</p>
  
  <p>--</p>
  
  <p><strong>Correction to my question</strong></p>
  
  <p>I found out that the problem is caused by </p>
  
  <p><code>$(selector).sortable().disableSelection()</code></p>
  
  <p>The only resolution I have now is to not call</p>
  
  <p><code>//disableSelection()</code></p>
  
  <p>Any other suggestions are more then welcome.</p>