Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery IE8 Object required
    primarykey
    data
    text
    <p>I have a button, that when clicked is supposed to open a jQuery UI Dialog. It works in FF3, FF4, Chrome, and IE8 with ChromeFrame. It does not work in normal IE8. I get an error that simply says "Object required". Below is the function the click calls.</p> <pre><code>function punchNonProd() { var HTML = ""; HTML += "&lt;tr id='burdenLine'&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;input class='ui-corner-all' type='text' id='diaNP' size='12'&gt;&lt;/td&gt;&lt;/tr&gt;"; HTML += "&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&lt;span class='button' onClick='sendPunch(\"NONPROD\", $(\"#diaNP\").val(), $(\"#loadedMech\").val());'&gt;Use Description&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;"; HTML += "&lt;/table&gt;"; $("#dialogSmall").dialog("option", "title", 'Non-Billable Punch') .html(HTML) .dialog("option", "width", 800) .dialog("open") .dialog("option", "position", "center") .dialog( "option", "buttons", { "Kochtinuous": function() { punchKochImpr(); }, "Break": function() { sendPunch("NONPROD", "BREAK", $("#loadedMech").val(), isLeader); }, "Clean Up": function() { sendPunch("NONPROD", "CLEAN_UP", $("#loadedMech").val(), isLeader); }, "Huddle": function() { sendPunch("NONPROD", "HUDDLE", $("#loadedMech").val(), isLeader); }, "Meeting": function() { sendPunch("NONPROD", "MEETING", $("#loadedMech").val(), isLeader);} } ); loadDefaults(); } </code></pre> <p>I am using jQuery UI 1.8.4, and jQuery 1.4.2</p> <p>The error occurs on line 4481 of the uncompressed jQuery file.</p> <p><em><strong>UPDATE</strong></em></p> <p>I was able to figure out that the problem comes from the command <code>$("#dialogSmall").html(HTML);</code>. I am still trying to figure out why this happens.</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