So I have a quiz users take, and at the end they obviously get results.
There is a "Print Results" feature which the client wants to load into a new window with new css etc...
My question is, how do I pass the results to a new window using javascript? Normally I would do this all with session, but the quiz and results were all done with javascript.
I basically have this:
$('#quizId .printQuiz').live("click", function(event) {
event.preventDefault();
resultsHtml = $('#quizResultsContent').html();
window.open('QuizResults.htm', "Print", "status=0,toolbar=0");
}
I need to pass resultsHtml to the QuizResults.htm page. Is this even possible?