How to disable Year/Month navigation in Bootstrap DatePicker -


i'm tryng disable month/year navigation button on bootstrap datepicker.

i want disable ability users click on "month/year" text in between navigation arrows , can't figure out.

enter image description here

thanks all.

if want restrict users use arrows can use maxviewmode option

$('#datepicker').datepicker({     maxviewmode: 0 }); 

see example: http://jsfiddle.net/zcvq0yhh/17/


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -