日期插件

默认效果

<div class="ui-form-group">
<label>普通日期</label>
<input type="text" class="datepick ui-form-ip" />
</div>
<div class="ui-form-group">
<label>带时间日期</label>
<input type="text" class="datepick-time ui-form-ip" />
</div>
<div class="ui-form-group">
<label>月份选择</label>
<input type="text" class="datepick-month ui-form-ip" />
</div>
<script src="/demo/laydate.js"></script>
<script>
lay('.datepick').each(function()
{
laydate.render(
{
elem:this,
});
});
lay('.datepick-time').each(function()
{
laydate.render(
{
elem:this,
type:'datetime'
});
});
lay('.datepick-month').each(function()
{
laydate.render(
{
elem:this,
type:'month'
});
});
</script>