diff options
author | prathamesh | 2017-08-14 12:10:42 +0530 |
---|---|---|
committer | prathamesh | 2017-08-14 12:10:42 +0530 |
commit | ce995e06e3509a1340061c51dfa08a65c69eef66 (patch) | |
tree | d270ccf9792bd2dbbc833e2f08aee4b407356cb9 /yaksh/cpp_stdio_evaluator.py | |
parent | 1a6006b457a68e6db51315a83a97ec0d9eb631d4 (diff) | |
download | online_test-ce995e06e3509a1340061c51dfa08a65c69eef66.tar.gz online_test-ce995e06e3509a1340061c51dfa08a65c69eef66.tar.bz2 online_test-ce995e06e3509a1340061c51dfa08a65c69eef66.zip |
Front-end modification for improved code server
Added JQuery to handle request.
Sends ajax request and gets json as response.
json contains token i.e uid which is answer id.
Using uid, an ajax request is sent after every 2 secs till the server
gives the desire result.
If the code result has error then html is written on the document.
If the result has correct answer then next question is displayed.
*includes function for string will not work for older browers.
Will substitute with a different function in next commit.
Diffstat (limited to 'yaksh/cpp_stdio_evaluator.py')
0 files changed, 0 insertions, 0 deletions