Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  
  <link href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  <script src="http://code.jquery.com/ui/1.11.0/jquery-ui.js"></script>
  
<meta charset=utf-8 />
<title>JS Bin</title>
 
  <script type="text/javascript">
        $(document).ready(function() {
            $("#dialog").dialog({
                autoOpen: false,
                modal: true
            });
            $('#opener').click(function(evt) {
              evt.preventDefault();
                $("#dialog").dialog('open');
            });
          $("#datePickerInput").datepicker({
                maxDate: +0
          });
        });
    </script>
  
</head>
<body>
  <div id="dialog" title="Dialog Title">
        I'm in a dialog
        <input id="datePickerInput" name="date" value="30.3.2010" />
    </div>
    <a id="opener" href="#">Open</a>
</body>
</html>
 
if (document.getElementById('hello')) {
  document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript';
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers