Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>λ</title>
  <link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/base/jquery-ui.css" rel="stylesheet" type="text/css">
  <script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.js"></script>
  <script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.js"></script>
</head>
<body>
  <div id="dialog">
    <input type="text" name="start_date" id="start_date" value=""/>
  </div>
  
</body>
</html>
 
$(function(){
  $("#dialog").dialog();
             
  $( "#start_date" ).datepicker({
  dateFormat: "mm-yy",
  changeMonth: true,
        changeYear: true,
        yearRange: "-100:+0"
               defaultDate: 01-01-1990;
             });
            });
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