How to make daterangepicker stay open always -


can me how make daterangepicker stay open always? daterangepicker url "http://www.daterangepicker.com/". cannot find option make possible. can suggest how make it?

what have tried far is

html

<div class="row">     <div id='divtest'>         <input id="txtassetcategorybootstrapdaterangepicker" class="form-control" />     </div> </div> <div class="clearfix"></div> 

javascript

 $('#txtassetcategorybootstrapdaterangepicker').daterangepicker({         inline: true,         singledatepicker: false,         startdate: moment().subtract(30, 'days'),         enddate: moment(),         mindate: moment().subtract(30, 'days'),         maxdate: moment(),         //ranges: { 'today': [moment(), moment()-29] }      }); 

and document.ready here

$(document).ready(function () {      $('.daterangepicker.dropdown-menu.ltr.show-calendar.opensright').show(); }); 

in options in library, there nothing available show daterangepicker in open mode.

please suggest.

u can write snippet think wrk.put in document ready function.

$(".daterangepicker").show();


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -