摘要: 1.背景 <body bgcolor="yellow"> 2.<b> 字体加粗 3.<i> 斜体 4.<a href="url" target="_blank"> 打开新窗口 5.<ol> 有序 6.<textarea> 文本区 7.<img src="image.gif"> 插入图片 8.<bod 阅读全文
posted @ 2019-02-21 11:30 G_Lybbh 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1.type 提交类型 get /post 2.async 默认true 异步 3.cache 默认 true 读取缓存 false不读取缓存 会在请求后面 添加一个时间戳 https://www.cnblogs.com/gzl180110/p/10410867.html 4.url 请求路径 5. 阅读全文
posted @ 2019-02-21 10:36 G_Lybbh 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Cache缓存问题 由于IE的缓存处理机制问题,每次通过XMLHttpRequest访问动态页面返回的总是首次访问的内容,解决方法有: 1. 客户端通过添加随机字符串解决。如:var url = 'http://url/';url += '?temp=' + new Date().getTime() 阅读全文
posted @ 2019-02-21 10:34 G_Lybbh 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1.attr函数 设置属性值 根据参数不同 作用不同 $("buttoon").click(function(){ $("img").attr("width","180") }) 效果 点击按钮 所选属性img 的width属性会变成所设置的大小180 1.返回被选到属性值 $(selector). 阅读全文
posted @ 2019-02-21 10:21 G_Lybbh 阅读(196) 评论(0) 推荐(0) 编辑