Content-type: text/html; charset=utf-8 ~ Edfuture $(function(){ window.prettyPrint && prettyPrint(); $('#dp1').datepicker({ format: 'mm-dd-yyyy' }); $('#dp2').datepicker(); $('#dp3').datepicker(); var startDate = new Date(2012,1,20); var endDate = new Date(2012,1,25); $('#dp4').datepicker() .on('changeDate', function(ev){ if ( > endDate.valueOf()){ $('#alert').show().find('strong').text('The start date can not be greater then the end date'); } else { $('#alert').hide(); startDate = new Date(; $('#startDate').text($('#dp4').data('date')); } $('#dp4').datepicker('hide'); }); $('#dp5').datepicker() .on('changeDate', function(ev){ if ( < startDate.valueOf()){ $('#alert').show().find('strong').text('The end date can not be less then the start date'); } else { $('#alert').hide(); endDate = new Date(; $('#endDate').text($('#dp5').data('date')); } $('#dp5').datepicker('hide'); }); });

[New] [List] Author
[New] [List] Box
[New] [List] Event
[New] [List] Feed
[New] [List] File
[New] [List] Journal
[New] [List] Link
[New] [List] Mapping
[New] [List] Optlist
[New] [List] Page
[New] [List] Person
[New] [List] Post
[New] [List] Presentation
[New] [List] Project
[New] [List] Publication
[New] [List] Publisher
[New] [List] Task
[New] [List] Template
[New] [List] Thread
[New] [List] Topic
[New] [List] View



You must be logged in as admin.