1 $(document).ready(function() {
2 $('#goodButton, #badButton, #neutralButton, #absentButton, #nextButton').on('click', function() {
3 var studentName = $('#studentName').text();
4 console.log(studentName);
5 var buttonValue = $(this).val();
6 var courseCode = window.location.pathname.split('/').pop();
8 url: '/response_quality',
11 studentName: studentName,
12 buttonValue: buttonValue,
15 success: function(response) {
16 $('#studentName').text(response);
18 error: function(error) {