fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Exercise of type uporzadkuj
[edumed.git]
/
wtem
/
static
/
wtem
/
wtem.js
1
$(function() {
2
3
$('#submit_answers').click(function(e) {
4
e.preventDefault();
5
var to_submit = [];
6
$('.exercise').each(function() {
7
var exercise = $(this).data('exercise');
8
if(exercise.get_answers) {
9
to_submit.push(exercise.get_answers()[0]);
10
}
11
});
12
console.log(JSON.stringify(to_submit));
13
});
14
15
});