摘要:
var imgLoad = function (url, callback) { var img = new Image(); img.src = url; if (img.complete) { callback(img.width, img.height); ... 阅读全文
摘要:
使用HttpWebRequest出错时获取详细的错误信息:try { //HttpWebRequest 相关代码 } catch(WebException ex) { HttpWebResponse res = ex.Response as Http... 阅读全文