Content-type: text/html; charset=utf-8 ~ Edfuture http://edfuture.mooc.ca/cgi-bin/admin.cgi $(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 (ev.date.valueOf() > endDate.valueOf()){ $('#alert').show().find('strong').text('The start date can not be greater then the end date'); } else { $('#alert').hide(); startDate = new Date(ev.date); $('#startDate').text($('#dp4').data('date')); } $('#dp4').datepicker('hide'); }); $('#dp5').datepicker() .on('changeDate', function(ev){ if (ev.date.valueOf() < startDate.valueOf()){ $('#alert').show().find('strong').text('The end date can not be less then the start date'); } else { $('#alert').hide(); endDate = new Date(ev.date); $('#endDate').text($('#dp5').data('date')); } $('#dp5').datepicker('hide'); }); });
[Admin]

[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

Error

Edfuture

You must be logged in as admin.

Login