I want to block any other execution until evaluateTestCases function finishes but before the function finishes, It goes in other function that is then of same function. Here is the function: function evaluateTestCases(source, lang) ...
You need to provide the right content type if you're using JSON dataType. Before echo-ing the json, put the correct header. <?php header('Content-type: application/json'); echo json_encode($response_array); ?> Additional fix, you should check whether the query succeed or not. if(mysql_query($qRead more
Jerin George
personally may not agree with the decision of resuming a paused media automatically after n seconds. But for pure technical understanding I will share how I would do that. Building on top of what you already have, you can have multiple commands on onClick separated by a semi-colon. Adding setTimeoutRead more