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. enter image description here

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');     }); }); 

fiddle


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -