javascript - Hide dates of other months in datepicker plugin? -


i'm using datepicker jquery ui , customizing css according needs. want hide other dates not active i.e. dates shown of other months. don't know if can done css or need use jquery that. here image explains want. image. here jquery code:

$(function(){     $('#datepicker').datepicker({                    inline: true,         showothermonths: true,         daynamesmin: ['su', 'mo', 'tu', 'we', 'th', 'fr', 'sa'],     }); }); 

setting selectothermonths option false solve problem. may remove line, since defaults option set false


Comments

Popular posts from this blog

c# - Store DBContext Log in other EF table -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -