Perubahan DaterangePicker

// to run code when daterangepicker changes
$("#selector").daterangepicker({
            opens: 'left',
            locale:{
                format: 'YYYY/MM/DD'
            }
        }).change(function(){
        	//your code 
        };
$("#selector").trigger('change'); // triggers change of daterangepicker
ekkamrit