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

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

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