摘要: 1 window.onload = function() { 2 3 var canvas = document.getElementById("canvas"); 4 5 canvas.width = 1024; 6 canvas.height = 768; 7 8... 阅读全文
posted @ 2015-03-25 21:52 HeyGeek 阅读(274) 评论(0) 推荐(0)
摘要: JavaScript初学,一点自己的理解 JSONP:本地html文件要获取xxx网站(跨域)数据时使用的方法。 跨域问题:外部服务器的数据只能用外部服务器中的js访问,本地js无法用XMLHttpRequest()访问。 外部服务器中的Web服务提供JSON数据,比如在http://gumball 阅读全文
posted @ 2015-03-24 08:31 HeyGeek 阅读(553) 评论(0) 推荐(0)