jquery ui - Comiseo daterange picker options -
i using date range picker http://tamble.github.io/jquery-ui-daterangepicker/
all want drop down select month & year. know there options available jquery ui render drop down instead of text month , year.
however when used applies on first datepicker only. want drop down on both calender.
below capture form demo on working.
i found reference here
var $datepicker = $("#txtstrtdate,#txtexpdte"); $datepicker.datepicker({ changemonth: true, changeyear: true, inline: true, altfield: "#datep", }).change(function(e){ settimeout(function(){ console.log(e, e.currenttarget, $datepicker.find('.ui-datepicker-current-day:visible')[0]); $datepicker .find('.ui-datepicker-current-day') .next('td') .children('.ui-state-default') .addclass('ui-state-active'); }); });
Comments
Post a Comment