Speed up development with full-stack environments for every branch.

Learn More

Adding a date picker to an input form field using jQuery

77307 Runs 269700 Views 266072 Copies


    <!-- Load jQuery from Google's CDN -->
    <!-- Load jQuery UI CSS  -->
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
    <!-- Load jQuery JS -->
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <!-- Load jQuery UI Main JS  -->
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <!-- Load SCRIPT.JS which will create datepicker for input field  -->
    <script src="script.js"></script>
    <link rel="stylesheet" href="runnable.css" />
    <p>Pick a Date: <input type="text" id="datepicker" /></p>
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).