Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Ajax Success Call jQuery UI
    primarykey
    data
    text
    <p>When I call the below in my code, after the element is loaded, the callback is being called but I get "Object does not support..." Any ideas why it can't find the tabs plugin even though I have jQuery and jQuery UI referenced. Another thing to note, is the filename for jQuery UI has two dots jquery-ui-1.8.5*<em>..</em>*min.js and unfortunately thats not the problem, the file is truly poorly named</p> <pre><code>&lt;script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="../../Scripts/jquery-ui-1.8.5..min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; function LoadStuff() { $("#tabify").tabs(); //This is where it breaks } $(function () { $("#login").click(function () { $("#tabContainer").load('/Home/Login', $("#loginForm").serialize(), LoadStuff); }); }); &lt;/script&gt; </code></pre> <p>Here's the element I'm trying to load:</p> <pre><code> &lt;div id="tabContainer"&gt; &lt;/div&gt; </code></pre> <p>Here's the element after loading:</p> <pre><code> &lt;div id="tabContainer"&gt; &lt;div id="tabify"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://localhost:51969/#stuff"&gt;Stuff&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://localhost:51969/#morestuff"&gt;More Stuff&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div id="stuff"&gt; &lt;input id="Radio2" type="radio" name="Ace"&gt;&lt;label for="Ace"&gt;Ace&lt;/label&gt; &lt;/div&gt; &lt;div id="morestuff"&gt; &lt;input id="Radio1" type="radio" name="broden"&gt;&lt;label for="broden"&gt;broden&lt;/label&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Thanks in advance!</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.
    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