bootstrap时间插件各种样式

很高兴解决了一个问题时间插件问题,参考这个链接。https://blog.csdn.net/farmerxiaoyi/article/details/74295470

jsp页面:

	 		

id='tm'是很重要的而且不能写错地方。


js页面:

$(document).ready(function() {

		$('#tm').datetimepicker({
			 format: "YYYY-MM "
		});
		
		
});	

完成。至于引包参考链接网上也很多自己找。




你可能感兴趣的:(bootstrap)