![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
momoxsy
这个作者很懒,什么都没留下…
展开
-
js获取某个html文件
function readHTML(){ $.ajax({ async:false, url : "aa.html“, success : function(result){ alert(result); } }); } async:false,这个是做与其他的js同步的,若为true或不填将会先运行同级别的其它代码,也就是说这里的result为原创 2013-09-17 16:40:52 · 501 阅读 · 0 评论 -
可自己添加html的伪弹出框
js var popupStatus = 0; //loading popup with jQuery magic! function loadPopup(){ //loads popup only if it is disabled if(popupStatus==0){ $("#backgroundPopup").css({ "opacity": "0.7" }); $(原创 2013-09-06 14:55:53 · 580 阅读 · 0 评论