diff options
Diffstat (limited to 'demos/dialog/modal-form.html')
-rw-r--r-- | demos/dialog/modal-form.html | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html index d1b7ccfa6..48452f862 100644 --- a/demos/dialog/modal-form.html +++ b/demos/dialog/modal-form.html @@ -1,10 +1,10 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Dialog - Modal form</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.8.0.js"></script> + <script src="../../jquery-1.8.2.js"></script> <script src="../../external/jquery.bgiframe-2.1.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> @@ -30,9 +30,6 @@ </style> <script> $(function() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - var name = $( "#name" ), email = $( "#email" ), password = $( "#password" ), @@ -68,7 +65,7 @@ return true; } } - + $( "#dialog-form" ).dialog({ autoOpen: false, height: 300, @@ -116,8 +113,6 @@ </head> <body> -<div class="demo"> - <div id="dialog-form" title="Create new user"> <p class="validateTips">All form fields are required.</p> @@ -155,13 +150,8 @@ </div> <button id="create-user">Create new user</button> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |