new XMLHttpRequest is not supported anymore.
-
hello !
like said in the title the:var xhr = new XMLHttpRequest();
return an error: new is not supported anymore {SW50ZXJmYWNlfHwxMDd8NXwxOQ==}
???
how to fix it ?
thanks.
-
@staiff I don't think XMLHttpRequest was ever supported in HISE. And you shouldn't be using
var
unless it's inside a paint routine.But that error is telling you that the
new
keyword is not supported by HISE. Remember HISEScript != Javascript. -
Manipuler des données JSON - Apprendre le développement web | MDN
Le JavaScript Object Notation (JSON) est un format standard utilisé pour représenter des données structurées de façon semblable aux objets Javascript. Il est habituellement utilisé pour structurer et transmettre des données sur des sites web (par exemple, envoyer des données depuis un serveur vers un client afin de les afficher sur une page web ou vice versa). Comme cette notation est extrêmement courante, cet article a pour but de vous donner les connaissances nécessaires pour travailler avec JSON en JavaScript, vous apprendre à analyser la syntaxe du JSON afin d'en extraire des données et écrire vos propres objets JSON.
MDN Web Docs (developer.mozilla.org)
Check If Internet Connection Exists in JavaScript
Use this simple and effective snippet of JavaScript to check if an internet connection exists or not.
kirupa.com (www.kirupa.com)
seems to be javascript ;)
i think, like you, that it's just unsuported by Hise ... :(
-
@staiff HISE Script is not Javascript - it's just very similar :)
-
yes.
it's just "Hart's" script linguage :D :D :D
-
Wait until you get my version of C soon :)
-
@Christoph-Hart said in new XMLHttpRequest is not supported anymore.:
Wait until you get my version of C soon :)
D'you working on Visual Studio?
-
No, I am working on a little secret side project right now :)
-
@Christoph-Hart said in new XMLHttpRequest is not supported anymore.:
No, I am working on a little secret side project right now :)
Ok ;)