Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== diff -u -r47af8921ff7d63addfeff2b9624c23fa0602bf63 -r292df3a6fb3cce2b31c9d9ee33c61bbe931e58ab --- lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 47af8921ff7d63addfeff2b9624c23fa0602bf63) +++ lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 292df3a6fb3cce2b31c9d9ee33c61bbe931e58ab) @@ -546,6 +546,20 @@ var wordCount = value ? (value.replace(/['";:,.?\-!]+/g, '').match(/\S+/g) || []).length : 0; return wordCount; } + + function logLearnerInteractionEvent(eventType, qbToolQuestionUid, optionUid) { + $.ajax({ + url: '', + data: { + eventType : eventType, + qbToolQuestionUid : qbToolQuestionUid, + optionUid : optionUid + }, + cache : false, + type : 'post', + dataType : 'text' + }); + }