Update
This commit is contained in:
@@ -71,8 +71,7 @@ function listener() {
|
||||
//Start a new game
|
||||
function newGame() {
|
||||
window.location = "http://134.2.6.146/~zxmpy88/uebung10/quiz.html";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function showQuestion() {
|
||||
var question = questions[currentQuestion];
|
||||
@@ -134,7 +133,7 @@ function getQuestions() {
|
||||
}
|
||||
};
|
||||
|
||||
request.open("GET", "http://134.2.6.146/~zxmpy88/uebung10/api.php");
|
||||
request.open("GET", "http://134.2.6.146/~zxmpy88/uebung10/api.php?n=" + n.value);
|
||||
request.send();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user