Answer the question
In order to leave comments, you need to log in
Is django session available to jQuery?
There is an application for passing the test online. The results of the answers are stored in the session. It is necessary to make it so that, for example, if the user did not pass the test to the end and closed the site and then went back to the start page, it checks whether the last test is finished and if it is not finished, then a window pops up asking if he wants to continue or start a new test.
I planned to make a pop-up window on jQuery, but when using the following code:
<script type="text/javascript">
if ($.cookie('poll') == null) {
alert('Не установленно!')
}
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question