Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is a <a href="https://github.com/jquery/jquery-mobile/issues/2057" rel="nofollow">known issue</a> in jQuery mobile. The offending line is <a href="https://github.com/jquery/jquery-mobile/blob/1.0b2/js/jquery.mobile.navigation.js#L913" rel="nofollow">jquery.mobile.navigation.js:913</a>.</p> <pre><code>// Kill the keyboard. // XXX_jblas: We need to stop crawling the entire document to kill focus. Instead, // we should be tracking focus with a live() handler so we already have // the element in hand at this point. // Wrap this in a try/catch block since IE9 throw "Unspecified error" if document.activeElement // is undefined when we are in an IFrame. try { $( document.activeElement || "" ).add( "input:focus, textarea:focus, select:focus" ).blur(); } catch(e) {} </code></pre> <p>There's the call to <code>blur()</code> that's sending IE windows to the back of the stack.</p> <p>As a workaround, you can avoid this by placing the script tags <em>physically</em> in the <code>&lt;head&gt;</code> of the HTML.</p> <pre><code>&lt;!DOCTYPE HTML&gt; &lt;html&gt; &lt;head&gt; &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css" /&gt; &lt;script src="http://code.jquery.com/jquery-1.6.2.js"&gt;&lt;/script&gt; &lt;script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"&gt;&lt;/script&gt; ... </code></pre> <p>Placing the script tags elsewhere in the document or inserting them via script triggers the bug.</p> <p><a href="http://jsfiddle.net/josh3736/7ceFA/" rel="nofollow">This Fiddle</a> demostrates the workaround in action. Note that this only works in a <strong>top-level document</strong>. If the document is in an <code>&lt;iframe&gt;</code>, the bug will still appear. Thus, if you open the JSFiddle editor in IE 7/8, it will still get sent to the back; but if you open just the <a href="http://fiddle.jshell.net/josh3736/7ceFA/show/" rel="nofollow">rendered HTML</a>, it will not.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload