jQuery borainTimeChoice日期时间选择插件是一款很好用的支持年月日时分选择代码,jQuery日期时间段选择代码。
js代码
<script src=\"js/borain-timeChoice.js\"></script> <script> // level分为 YM YMD H HM 四个有效值,分别表示年月 年月日 年月日时 年月日时分,less表示是否不可小于当前时间。年-月-日 时:分 时为24小时制 // 为确保控件结构只出现一次,在有需要的时候进行一次调用。 onLoadTimeChoiceDemo(); borainTimeChoice({ start:\".start\", end:\".end\", level:\"YM\", less:true }); borainTimeChoice({ start:\".start-two\", end:\"\", level:\"H\", less:false }); </script>
暂无评论内容