UNPKG

alpaca

Version:

Alpaca provides the easiest and fastest way to generate interactive forms for the web and mobile devices. It runs simply as HTML5 or more elaborately using Bootstrap, jQuery Mobile or jQuery UI. Alpaca uses Handlebars to process JSON schema and provide

23 lines (21 loc) 792 B
<html> <head> <title> datepicker demo </title> <script src="../lib/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script> <script src="../src/jquery.maskedinput.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/redmond/jquery-ui.css" /> <script type="text/javascript"> $(function() { $("#date") .datepicker({ nextText: "", prevText: "", changeMonth: true, changeYear: true }) .mask("99/99/9999"); }); </script> </head> <body> <table> <tr><td>Date</td><td><input id="date" value="1231" type="text" tabindex="1" /></td><td>99/99/9999</td></tr> </table> </body> </html>