I am trying to send a json object that holds quiz data [including answers] from my code behind to javascript. I used…
var quizJson = <%=jsonObj%>
but the issue is, my users are smart enough to use view source and reveal the answers. Any suggestion?
Thanks in advance
Do an AJAX call when the user chooses an answer. This way, validation will be external and the users won’t be able to view the source to find the answer.