HTTP GET request in JavaScript?
I need to do an HTTP GET request in JavaScript. What’s the best way to do that? I need to do this in a Mac OS X dashcode widget. 30 s 30 Browsers (and Dashcode) provide an XMLHttpRequest object which can be used to make HTTP requests from JavaScript: function httpGet(theUrl) { var xmlHttp = … Read more