标签:
<head> <meta name="viewport" content="width=device-width" /> <title>Index1</title> <script src="~/Scripts/jquery-easyui-1.4.3/jquery.min.js"></script> <script src="~/Scripts/jquery-easyui-1.4.3/jquery.easyui.min.js"></script> <link href="~/Scripts/jquery-easyui-1.4.3/themes/icon.css" rel="stylesheet" /> <link href="~/Scripts/jquery-easyui-1.4.3/themes/default/easyui.css" rel="stylesheet" /> <script type="text/javascript"> $(function () { $(‘#date‘).calendar({ onSelect: function (date) { var a = (date.getFullYear() + ":" + (date.getMonth() + 1) + ":" + date.getDate()); //alert(a); $("#id").val(a); //return a; } }); }); </script> </head>
easyUI calendar取值赋给input的value
标签:
原文地址:http://www.cnblogs.com/cylblogs/p/4910439.html