$('#hintstoshow'+student_answer).append("<p id=\"hintstoshow"+student_answer+"\"data-value=\""+student_answer+"\"> <b>No hints exist in the database. (You received a default hint)</p> <p id=\""+hint_used+"\"data-value=\""+student_answer+"\" </p>");
$('#hintstoshow'+valueid).append("<p style = \"color: blue;\" id=\"hintstoshow"+valueid+"\"data-value=\""+valueid+"\"> <b>No hints exist in the database. (You received a default hint)</p> <p id=\""+indexid+"\"data-value=\""+valueid+"\" </p>");
}
}
});
});
}
}
...
@@ -187,7 +178,35 @@ function CrowdXBlock(runtime, element){
...
@@ -187,7 +178,35 @@ function CrowdXBlock(runtime, element){
$('#submit'+answerdata).prepend('Thankyou for your hint!');
$('#submit'+answerdata).prepend('Thankyou for your hint!');