diff options
author | Ache <ache@ache.one> | 2016-09-11 05:47:04 +0200 |
---|---|---|
committer | Ache <ache@ache.one> | 2016-09-11 05:47:04 +0200 |
commit | 2df8cd0bc9c986857bef7ede90fe51b8000e8aaf (patch) | |
tree | 58d17539ae2b3e4ed9b719fd6e48e0c45000f3c7 | |
parent | Commit de test du chargement par comboBox (diff) |
test
-rw-r--r-- | synhestesis.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synhestesis.js b/synhestesis.js index c5e378b..c2da8f0 100644 --- a/synhestesis.js +++ b/synhestesis.js @@ -22,8 +22,10 @@ asPass = false function selectChange(evt) { var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() { - if (xmlHttp.readyState == 4 && xmlHttp.status == 200) + if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { + alert(xmlHttp.responseText) loadFile(xmlHttp.responseText); + } } xmlHttp.open("GET", "http://ache.one/shared/synhestesis/" + select.selectedIndex, true); xmlHttp.send(null); |