Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
    <head>
<link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
        <script type="text/javascript">
        $(function() {
            $("#datepicker").datepicker({altField: '#alternate',
                                         dateFormat: 'D dd-mm-yy',
                                         altFormat: 'D dd-mm-yy'});
        });
        </script>
</head>
<body>
<p>Date: <input type="text" id="datepicker">&nbsp;
<input type="text" id="alternate" size="30"/></p>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers