简单js日期插件-年/月/日联动选择

管理员 发布于 6年前   374

js代码 已打包 下载解压引入就OK了

birthdays.zip


前台 做好样式 把下面代码贴上就OK了

<p>
<span>日期插件:</span>
<select size="1" name="year" id="year" style="width:80px" 
    onfocus="years('year',new Date().getFullYear()),change_date()" onchange="change_date()">
</select>
<select size="1" name="month" id="month" style="width:70px" 
    onfocus="months(),change_date()" onchange="change_date()">
</select>
<select size="1" name="date" id="date" style="width:50px" ></select>
</p>

效果在tp5blog首页 demo标签里面 

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!

该博客于2020-12-7日,后端基于go语言的beego框架开发
前端页面使用Bootstrap可视化布局系统自动生成

是我仿的原来我的TP5框架写的博客,比较粗糙,底下是入口
侯体宗的博客

      订阅博客周刊

文章标签

友情链接

HouTiZong
侯体宗的博客
© 2020 zongscan.com
版权所有ICP证 : 粤ICP备20027696号
PHP交流群
侯体宗的博客