Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Alex W had it above:</p> <p>From <a href="https://developers.google.com/speed/libraries/devguide#jqueryUI" rel="nofollow">https://developers.google.com/speed/libraries/devguide#jqueryUI</a></p> <blockquote> <p>note: This library depends on jquery. You must also load jquery before loading this module.</p> </blockquote> <p>In addition, you're trying to <code>open</code> the <code>#login_form</code> element, rather than the <code>#login</code> element. You need to use the same jQuery set. See the modified code below.</p> <pre><code>&lt;head&gt; &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"&gt;&lt;/script&gt; &lt;script&gt; $(function() { $('#login').dialog({ autoOpen: false, title: 'Login', height: 300, width: 350, modal: true }); $('#open').click(function() { $('#login').dialog('open'); return false; }); }); &lt;/script&gt; &lt;meta charset="utf-8" /&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="login"&gt; &lt;form class="caption" action="Login.php" method="post"&gt; &lt;p&gt;E-mail: &lt;br&gt;&lt;input type="text" name="email" maxlength="255" /&gt;&lt;/p&gt; &lt;p&gt;Password:&lt;/p&gt; &lt;br&gt;&lt;input type="password" name="pwd" /&gt;&lt;/p&gt; &lt;p&gt;&lt;input type="submit" value="Login" /&gt;&lt;/p&gt; &lt;/form&gt; &lt;/div&gt; &lt;button id="open"&gt;Click&lt;/button&gt; &lt;/body&gt; </code></pre>
    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.
 

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