Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //JQuery datepicker with animation
- //Heru Rahmat Akhnuari
- // http://www.ilmuprogrammer.com
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>jQuery UI Datepicker - Default functionality</title>
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
- <link rel="stylesheet" href="/resources/demos/style.css">
- <script>
- $(function() {
- $("#datepicker").datepicker({
- dateFormat: "yy-mm-dd",
- showAnim:"slide", //You can change any effect show,slideDown,fadeIn,blind,bounce,clip,drop,fold,slide
- });
- });
- </script>
- </head>
- <body>
- <p>Date: <input type="text" id="datepicker"></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement