Request: Javascript example
Posted: Tue Nov 03, 2015 9:15 am
If anyone can post some simple example code which loads/runs a javascript file it would be very much appreciated
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
<script src="myscripts.js"></script>
function httpGet(theUrl)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false ); // false for synchronous request
xmlHttp.send( null );
return xmlHttp.responseText;
}