Difference between revisions of "Team:ETH Zurich/Notebook"

m
m
Line 4: Line 4:
 
<script>
 
<script>
 
   $(function() {
 
   $(function() {
     $( "#datepicker" ).datepicker({inline:true,firstDay:1,showOtherMonths:true});
+
     $( "#datepicker" ).datepicker({
 +
inline:true,
 +
firstDay:1,
 +
showOtherMonths:true,
 +
onSelect: function(dateText,inst) {
 +
document.getElementById('log').innerHTML += "You have selected the fine day of ";
 +
document.getElementById('log').innerHTML += dateText;
 +
document.getElementById('log').innerHTML += "Unfortunately, the notes for that day have run away and we can't find them. :(";
 +
}
 +
});
 
   });
 
   });
 
   </script>
 
   </script>
Line 33: Line 42:
 
</div>
 
</div>
 
<div id="notes">
 
<div id="notes">
The notes for the selected day are supposed to go here. Unfortunately, the notes have run away and we can't find them. :(
+
 
 
</div>
 
</div>
  

Revision as of 16:00, 23 July 2015

"What I cannot create I do not understand."
- Richard Feynmann

Notebook