Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aswitahidayat

    (@aswitahidayat)

    Solved, I use this code:

    <script>
    jQuery(function($){
    	$("#date1").datepicker({
    		dateFormat: 'dd/mm/yy',
    		onSelect: function(dateText, inst){
    			$("#date2").datepicker("option","minDate",
    				$("#date1").datepicker("getDate"));
    		}
    	});
    });
    </script>

    Hi,

    where do you put this code?
    And is it dynamic when you use INLINE so the calendars are always open?

    Thanks!

    Pieter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘set min-date from other datepicker’ is closed to new replies.