hm. so, i found a problem was that i was using an .html file saved to my desktop, and for some reason the .send thing doesn’t work there.
But anyway, this also makes it difficult to check the variables, so I don’t know what to expect. Do you know exactly how I can use this in java? I mean exactly, because I won’t be able to test this on my own (I’m going to have to submit it to the live server, which I can’t use to toy with, unfortunately…)
xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", "https://api.twitch.tv/kraken/channels/normalice", false );
xmlHttp.send();
if ([***what goes here?***])
//show frame
document.getelementbyID('frame1').style.width = '160px';
else
//hide frame
document.getelementbyID('frame1').style.width = '0px';