![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
文章平均质量分 74
Jaye-L
一个只会写bug的程序猿
展开
-
利用postmessage间接实现iframe跨域调用父页面js函数
父页面html代码: window.onload = function () { //添加监听事件。 if (typeof window.addEventListener != "undefined") window.addEventListener("messag原创 2016-02-24 17:36:17 · 1749 阅读 · 0 评论 -
JQuery判断Capslock状态
html代码部分: #tip { position: absolute; height: 12px; padding: 5px; text-align: right; display: none; bo原创 2015-05-26 15:14:48 · 1770 阅读 · 0 评论 -
XmlHttpReques
function ajax(url, data, method, fn) { var request = new XMLHttpRequest(); request.open(method, url, true); request.setRequestHeader("Content-Type", "applica原创 2015-12-26 09:55:36 · 428 阅读 · 0 评论 -
CSS绘制气泡提示框
.tag { width: 100px; height: 22px; border: 1px solid Gainsboro; position: relative; background-color: #F9F5C7; font-size: 8px;原创 2015-07-15 09:21:22 · 1246 阅读 · 0 评论