hi,
i have this js code:
but all is correct?
i have this js code:
function WebClient() {
DownloadString: function (path, callback){
var wc = new System.Net.WebClient();
var result = wc.DownloadString(path);
if (typeof(callback) != "undefined")
{
callback(result);
}
return result;
};
}
and when i use this class:var w = new WebClient();
w.DownloadString("http://www.google.de/");
come error: object does not contains method or propertybut all is correct?