Difference between revisions of "Team:ETH Zurich/Notebook"
Line 12: | Line 12: | ||
notes = response.replace(/\n/g,'\t'); | notes = response.replace(/\n/g,'\t'); | ||
}); | }); | ||
+ | var datePicker = $( "#datepicker" ); | ||
+ | var notePad = document.getElementById('notes'); | ||
}); | }); | ||
− | $(function() { | + | $(function() { |
− | + | datePicker.datepicker({ | |
− | + | ||
inline:true, | inline:true, | ||
Line 28: | Line 29: | ||
var toShow = notes.match(re); | var toShow = notes.match(re); | ||
if (toShow == null) { | if (toShow == null) { | ||
− | + | notePad.innerHTML = dateText; | |
} else { | } else { | ||
− | + | notePad.innerHTML = toShow; | |
} | } | ||
} | } |
Revision as of 06:58, 29 August 2015
- Project
- Modeling
- Lab
- Human
Practices - Parts
- About Us