摘要: jsonp的主要四步写法: 1 var os = document.createElement('script'); //第一步,创建“Script”节点 2 os.src是要调用的接口地址 http://suggestion.baidu.com/su?cb=qwer&wd= 这个是搜索 3 os. 阅读全文
posted @ 2021-06-12 11:38 花月 阅读(133) 评论(0) 推荐(0)
摘要: 1 // JavaScript Document 2 (function (doc, win) { 3 var docEl = doc.documentElement, 4 resizeEvt = 'orientationchange' in window ? 'orientationchange' 阅读全文
posted @ 2021-06-12 10:24 花月 阅读(128) 评论(0) 推荐(0)