摘要: $("#imgId")[0].src; //获取 $("#imgId").attr('src',path); //修改 阅读全文
posted @ 2018-07-10 17:30 pengc 阅读(487) 评论(0) 推荐(0) 编辑
摘要: //cookie添加 document.cookie="username=John Doe"; //添加过期时间 document.cookie="username1=John Doe1; expires=Thu, 18 Dec 2013 12:00:00 GMT"; //用 path 参数告诉浏... 阅读全文
posted @ 2018-07-10 15:51 pengc 阅读(3576) 评论(0) 推荐(0) 编辑