Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery UI dialog only opens once in Chrome, will not close in IE 10
    primarykey
    data
    text
    <p>I've got a strange problem with a jQuery UI dialog only opening once in Chrome, while it won't close in IE 10. Here is the HTML containing the dialog itself:</p> <pre><code>&lt;td class="editor-label"&gt;@Html.LabelWithTooltip(model =&gt; model.AuditDto.Scope)&lt;/td&gt; &lt;td class="editor-field"&gt; @Html.TextAreaFor(model =&gt; model.AuditDto.Scope) @Html.ValidationMessageFor(model =&gt; model.AuditDto.Scope) &lt;div id="scope-modal-editor"&gt; @Html.TextArea("ScopeEditor", @Model.AuditDto.Scope, new {@class="popup-editor"}) &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; </code></pre> <p>Here is the javascript I use to create and open the dialog:</p> <pre><code>$(document).ready(function() { $('#scope-modal-editor').dialog({ title: 'Edit Scope', autoOpen: false, appendTo: 'body', show: 'fade', width: 800, height: 600, modal: false, draggable: false, resizable: false, dialogClass: "no-close", buttons: [ { text: "OK", click: function () { $(this).dialog("close"); } } ], close: function (event, ui) { $("#AuditDto_Scope").val($("#ScopeEditor").val()); } }), $('#AuditDto_Scope').focus(function (e) { $('#scope-modal-editor').dialog('open'); }); </code></pre> <p>Each time #AuditDto_Scope gets focus, the dialog should open. This, as I said, only happens once.</p> <p>I'm using jQuery UI 1.10.3 and jQuery 2.0.3. Can anyone see something wrong here, or could it be a bug in one of the frameworks?</p> <p>UPDATE: Here is a fiddle that demonstrates the exact issue: <a href="http://jsfiddle.net/C9KTt/1/" rel="nofollow">http://jsfiddle.net/C9KTt/1/</a></p>
    singulars
    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.
 

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