JavaScript中document对象使用详解

前端之家收集整理的这篇文章主要介绍了JavaScript中document对象使用详解前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

对象属性

代码如下:
标题等价于HTML的<a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.bgColor //设置<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>背景色 document.fgColor //设置前景色(<a href="/tag/wenbenyanse/" target="_blank" class="keywords">文本颜色</a>) document.linkColor //未点击过的<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>颜色 document.alinkColor //激活<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>(焦点在此<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>上)的颜色 document.vlinkColor //已点击过的<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>颜色 document.URL //设置URL<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a>从而在同一窗口打开另一网页 document.fileCreatedDate //<a href="/tag/wenjian/" target="_blank" class="keywords">文件</a>建立日期,只读<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.fileModifiedDate //<a href="/tag/wenjian/" target="_blank" class="keywords">文件</a><a href="/tag/xiugai/" target="_blank" class="keywords">修改</a>日期,只读<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.fileSize //<a href="/tag/wenjian/" target="_blank" class="keywords">文件</a>大小,只读<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.cookie //设置和读出cookie document.charset //设置字符集 简体<a href="/tag/zhongwen/" target="_blank" class="keywords">中文</a>:gb2312 </div></p> <p>====================================================================== body-主体子对象</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="36917" class="copybut" id="copybut36917" onclick="doCopy('code36917')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code36917"> document.body //指定文档主体的开始和结束等价于<body></body> document.body.bgColor //设置或<a href="/tag/huoqu/" target="_blank" class="keywords">获取</a>对象后面的背景颜色 document.body.link //未点击过的<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>颜色 document.body.alink //激活<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>(焦点在此<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>上)的颜色 document.body.vlink //已点击过的<a href="/tag/lianjie/" target="_blank" class="keywords">链接</a>颜色 document.body.text //<a href="/tag/wenbenyanse/" target="_blank" class="keywords">文本颜色</a> document.body.innerText //设置<body>...</body>之间的文本 document.body.innerHTML //设置<body>...</body>之间的<a href="/tag/HTMLdaima/" target="_blank" class="keywords">HTML代码</a> document.body.topMargin //<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上边距 document.body.leftMargin //<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>左边距 document.body.rightMargin //<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>右边距 document.body.bottomMargin //<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>下边距 document.body.background //背景<a href="/tag/tupian/" target="_blank" class="keywords">图片</a> document.body.appendChild(oTag) //动态<a href="/tag/shengcheng/" target="_blank" class="keywords">生成</a>一个HTML对象 </div></p> <p>常用对象事件</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="14891" class="copybut" id="copybut14891" onclick="doCopy('code14891')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code14891"> document.body.onclick="func()" //鼠标指针单击对象是触发 document.body.onmou<a href="/tag/SEO/" title="SEO">SEO</a>ver="func()" //鼠标指针移到对象时触发 document.body.onmou<a href="/tag/SEO/" title="SEO">SEO</a>ut="func()" //鼠标指针移出对象时触发 </div></p> <p>====================================================================== location-位置子对象</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="54412" class="copybut" id="copybut54412" onclick="doCopy('code54412')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code54412"> document.location.hash // #号后的部分 document.location.host // 域名+端口号 document.location.hostname // 域名 document.location.href // 完整URL document.location.pathname // 目录部分 document.location.port // 端口号 document.location.protocol // 网络协议(http:) document.location.search // ?号后的部分 </div></p> <p>常用对象事件</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="35849" class="copybut" id="copybut35849" onclick="doCopy('code35849')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code35849"> documeny.location.reload() //刷新网页 document.location.reload(URL) //打开新的网页 document.location.assign(URL) //打开新的网页 document.location.replace(URL) //打开新的网页 </div></p> <p>====================================================================== images集合(<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>中的图象) a)通过集合引用</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="18095" class="copybut" id="copybut18095" onclick="doCopy('code18095')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code18095"> document.images //对应<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上的<img><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.images.length //对应<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上<img><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a>的个数 document.images[0] //第1个<img><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.images //第i-1个<img><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> </div></p> <p>b)通过name<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a>直接引用</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="44799" class="copybut" id="copybut44799" onclick="doCopy('code44799')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code44799"> <img name="oImage"> document.images.oImage //document.images.name<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> </div></p> <p>c)引用<a href="/tag/tupian/" target="_blank" class="keywords">图片</a>的src<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a></p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="64689" class="copybut" id="copybut64689" onclick="doCopy('code64689')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code64689"> document.images.oImage.src //document.images.name<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a>.src </div></p> <p>d)创建一个图象</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="31577" class="copybut" id="copybut31577" onclick="doCopy('code31577')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code31577"> var oImage oImage = new Image() document.images.oImage.src="1.jpg" </div></p> <p>同时在<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上建立一个<img><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a>与之对应就可以<a href="/tag/xianshi/" target="_blank" class="keywords">显示</a> 示例<a href="/tag/daima/" target="_blank" class="keywords">代码</a>(动态创建图象):</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="30913" class="copybut" id="copybut30913" onclick="doCopy('code30913')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code30913"> <html> <img name=oImage> <script language="javascript"> var oImage oImage = new Image() document.images.oImage.src="1.jpg" </script> </html> <html> <script language="javascript"> oImage=document.caeateElement("IMG") oImage.src="1.jpg" document.body.appendChild(oImage) </script> </html> </div></p> <p>===================================================================== forms集合(<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>中的表单) a)通过集合引用</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="6346" class="copybut" id="copybut6346" onclick="doCopy('code6346')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code6346"> document.forms //对应<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上的<form><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.forms.length //对应<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>上<form><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a>的个数 document.forms[0] //第1个<form><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.forms //第i-1个<form><a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a> document.forms.length //第i-1个<form>中的控件数 document.forms.elements[j] //第i-1个<form>中第j-1个控件 </div></p> <p>---------------------------- b)通过<a href="/tag/biaoqian/" target="_blank" class="keywords">标签</a>name<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a>直接引用</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="80047" class="copybut" id="copybut80047" onclick="doCopy('code80047')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code80047"> <form name="Myform"><input name="myctrl"></form> document.Myform.myctrl //document.表单名.控件名 </div></p> <p>---------------------------- c)访问表单的<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a></p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="32386" class="copybut" id="copybut32386" onclick="doCopy('code32386')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code32386"> document.forms.name //对应<form name><a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.forms.action //对应<form action><a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.forms.encoding //对应<form enctype><a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.forms.target //对应<form target><a href="/tag/shuxing/" target="_blank" class="keywords">属性</a> document.forms.appendChild(oTag) //动态插入一个控件 </div></p> <p>---------------------------- 示例<a href="/tag/daima/" target="_blank" class="keywords">代码</a>(form):</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="75370" class="copybut" id="copybut75370" onclick="doCopy('code75370')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code75370"> <html> <!--Text控件相关Script--> <form name="Myform"> <input type="text" name="oText"> <input type="password" name="oPswd"> <form> <script language="javascript"> //<a href="/tag/huoqu/" target="_blank" class="keywords">获取</a>文本密码框的值 document.write(document.Myform.oText.value) document.write(document.Myform.oPswd.value) </script> </html> </div></p> <p>---------------------------- 示例<a href="/tag/daima/" target="_blank" class="keywords">代码</a>(check<a href="/tag/Box/" target="_blank" class="keywords">Box</a>):</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="99533" class="copybut" id="copybut99533" onclick="doCopy('code99533')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code99533"> <html> <!--checkbox,radio控件相关script--> <form name="Myform"> <input type="check<a href="/tag/Box/" target="_blank" class="keywords">Box</a>" name="chk" value="1">1 <input type="check<a href="/tag/Box/" target="_blank" class="keywords">Box</a>" name="chk" value="2">2 </form> <script language="javascript"> function fun(){ //遍历check<a href="/tag/Box/" target="_blank" class="keywords">Box</a>控件的值并判断是否选中 var length length=document.forms[0].chk.length for(i=0;i<length;i++){ v=document.forms[0].chk.value b=document.forms[0].chk.checked if(b) alert(v=v+"被选中") else alert(v=v+"未选中") } } </script> <a href=# onclick="fun()">ddd</a> </html> </div></p> <p>---------------------------- 示例代码(Select):</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="27045" class="copybut" id="copybut27045" onclick="doCopy('code27045')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code27045"> <html> <!--Select控件相关Script--> <form name="Myform"> <select name="oSelect"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </form> <script language="javascript"> //遍历select控件的option项 var length length=document.Myform.oSelect.length for(i=0;i<length;i++) document.write(document.Myform.oSelect.value) </script> <script language="javascript"> //遍历option项并且判断某个option是否被选中 for(i=0;i<document.Myform.oSelect.length;i++){ if(document.Myform.oSelect.selected!=true) document.write(document.Myform.oSelect.value) else document.write("<font color=red>"+document.Myform.oSelect.value+"</font>") } </script> <script language="javascript"> //根据SelectedIndex打印出选中的option //(0到document.Myform.oSelect.length-1) i=document.Myform.oSelect.selectedIndex document.write(document.Myform.oSelect.value) </script> <script language="javascript"> //动态<a href="/tag/zengjia/" target="_blank" class="keywords">增加</a>select控件的option项 var oOption = document.createElement("OPTION"); oOption.text="4"; oOption.value="4"; document.Myform.oSelect.add(oOption); </script> <html> </div></p> <p>====================================================================== Div集合(<a href="/tag/yemian/" target="_blank" class="keywords">页面</a>中的层)</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="91392" class="copybut" id="copybut91392" onclick="doCopy('code91392')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code91392"> <Div id="oDiv">Text</Div> document.all.oDiv //引用图层oDiv document.all.oDiv.style.display="" //图层设置为可视 document.all.oDiv.style.display="none" //图层设置为隐藏 document.getElementId("oDiv") //通过getElementId引用对象 document.getElementId("oDiv"). document.getElementId("oDiv").display="none" /*document.all表示document中所有对象的集合 只有ie<a href="/tag/zhichi/" target="_blank" class="keywords">支持</a>此<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a>,因此也用来判断浏览器的种类*/ </div></p> <p>图层对象的4个<a href="/tag/shuxing/" target="_blank" class="keywords">属性</a></p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="24909" class="copybut" id="copybut24909" onclick="doCopy('code24909')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code24909"> document.getElementById("ID").innerText //动态<a href="/tag/shuchu/" target="_blank" class="keywords">输出</a>文本 document.getElementById("ID").innerHTML //动态<a href="/tag/shuchu/" target="_blank" class="keywords">输出</a>HTML document.getElementById("ID").outerText //同innerText document.getElementById("ID").outerHTML //同innerHTML </div></p> <p>---------------------------- 示例<a href="/tag/daima/" target="_blank" class="keywords">代码</a>:</p> <p><div class="codetitle"><span><a style="CURSOR: pointer" data="97801" class="copybut" id="copybut97801" onclick="doCopy('code97801')"><U></U></a> <a href="/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code97801"> <html> <script language="javascript"> function change(){ document.all.oDiv.style.display="none" } </script> <Div id="oDiv" onclick="change()">Text</Div> </html> <html> <script language="javascript"> function changeText(){ document.getElementById("oDiv").innerText="NewText" } </script> <Div id="oDiv" onmou<a href="/tag/SEO/" title="SEO">SEO</a>ver="changeText()">Text</Div> </html> </div></p></div> <div class="topcard-tags"><a href="/tag/documentduixiang/" class="tag_link" target="_blank">document对象</a><a href="/tag/JavaScript/" class="tag_link" target="_blank">JavaScript</a></div> <ul class="list-group"> <li class="list-group-item"><a href="/js/56464.html" title="JavaScript静态类型检查工具FLOW简介">上一篇:JavaScript静态类型检查工具FLOW简</a><a href="/js/56455.html" title="angularJS中$apply()方法详解" class="text-muted pull-right">下一篇:angularJS中$apply()方法详解</a> </li> </ul> </div> </div> </div> <!-- row end --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-4605373693034661" data-ad-slot="9144498553"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> </div> </div> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <div class="title"><h1>猜你在找的JavaScript相关文章</h1></div> <div class="list_con"> <a href="/js/997747.html" title="Javascript中的事件冒泡与捕获"><div class="title">Javascript中的事件冒泡与捕获</div> <div class="summary">事件冒泡和事件捕获 起因:今天在封装一个bind函数的时候,发现el.addEventListener函数支...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="/js/997746.html" title="搞懂js中小数运算精度问题原因及解决办法"><img class="lazy" src="/images/np.jpg" data-original="/res/2021/02-22/19/e40e1eb184cb2a5d8c5f6c5e730d8e82.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">搞懂js中小数运算精度问题原因及解决办法</div> <div class="summary">js小数运算会出现精度问题 js number类型 JS 数字类型只有number类型,number类型相当于其...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="/js/997744.html" title="搞懂:前端跨域问题JS解决跨域问题VUE代理解决跨域问题原理"><div class="title">搞懂:前端跨域问题JS解决跨域问题VUE代理解决跨域问题原理</div> <div class="summary">什么是跨域 跨域 : 广义的跨域包含一下内容 : 1.资源跳转(链接跳转,重定向跳转,表单提...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="/js/997743.html" title="前端对base64编码的理解,原生js实现字符base64编码"><div class="title">前端对base64编码的理解,原生js实现字符base64编码</div> <div class="summary">@ &quot;TOC&quot; 常见对base64的认知(不完全正确) 首先对base64常见的认知,也是...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="/js/997742.html" title="搞懂:MVVM模型以及VUE中的数据绑定数据劫持发布订阅模式"><div class="title">搞懂:MVVM模型以及VUE中的数据绑定数据劫持发布订阅模式</div> <div class="summary">搞懂:MVVM模式和Vue中的MVVM模式 MVVM MVVM : 的缩写,说都能直接说出来 :模型, :视图...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div style="border-bottom: 1px solid #f4f4f4;margin-top:20px;"> <ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-fr-2o+fp-dx-wx" data-ad-client="ca-pub-4605373693034661" data-ad-slot="4561116489"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div><div class="list_con"> <a href="/js/997318.html" title="js判断浏览器是否支持webGL"><div class="title">js判断浏览器是否支持webGL</div> <div class="summary">起因是我之前开发的网页,用到了three.js制作了一个3d的旋转球体效果。 在各种浏览器上运行...</div> <time class="summary">作者:前端之家 时间:2021-02-14</time> </a> </div> <div class="list_con"> <a href="/js/997317.html" title="js判断undefined和null"><div class="title">js判断undefined和null</div> <div class="summary">js判断undefined js判断null js判断null和undefined</div> <time class="summary">作者:前端之家 时间:2021-02-14</time> </a> </div> <div class="list_con"> <a href="/js/997316.html" title="将文字自动转为banner打印形式的工具"><div class="title">将文字自动转为banner打印形式的工具</div> <div class="summary">http://patorjk.com/software/taag/</div> <time class="summary">作者:前端之家 时间:2021-02-14</time> </a> </div> <div class="list_con"> <a href="/js/997315.html" title="聊一聊 bootstrap 的轮播图插件"><div class="title">聊一聊 bootstrap 的轮播图插件</div> <div class="summary">今天做工作的时候,轻车熟路的做完,又用到了bootstrap的轮播图,觉得有必要安利一下这个插...</div> <time class="summary">作者:前端之家 时间:2021-02-14</time> </a> </div> <div class="list_con"> <a href="/js/997314.html" title="js实现图片无缝循环跑马灯"><div class="title">js实现图片无缝循环跑马灯</div> <div class="summary">html 代码 css js代码 function mylsRunHorseLight() { if (mylsTimer != null) { clearIn...</div> <time class="summary">作者:前端之家 时间:2021-02-14</time> </a> </div> <div style="border-bottom: 1px solid #f4f4f4;margin-top:20px;"> <ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-fr-2o+fp-dx-wx" data-ad-client="ca-pub-4605373693034661" data-ad-slot="4561116489"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div></div> </div> </div> </div> <!-- left end--> <!-- right --> <div class="col-sm-12 col-md-12 col-lg-3"> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">编程分类</label> <div class="cate mt-20"><a href="/html/" title="HTML">HTML</a><a href="/html5/" title="HTML5">HTML5</a><a href="/js/" title="JavaScript">JavaScript</a><a href="/css/" title="CSS">CSS</a><a href="/jquery/" title="jQuery">jQuery</a><a href="/bootstrap/" title="Bootstrap">Bootstrap</a><a href="/angularjs/" title="Angularjs">Angularjs</a><a href="/typescript/" title="TypeScript">TypeScript</a><a href="/vue/" title="Vue">Vue</a><a href="/dojo/" title="Dojo">Dojo</a><a href="/json/" title="Json">Json</a><a href="/electron/" title="Electron">Electron</a><a href="/nodejs/" title="Node.js">Node.js</a><a href="/extjs/" title="extjs">extjs</a><a href="/express/" title="Express ">Express </a><a href="/xml/" title="XML">XML</a><a href="/es6/" title="ES6">ES6</a><a href="/ajax/" title="Ajax">Ajax</a><a href="/flash/" title="Flash">Flash</a><a href="/unity/" title="Unity">Unity</a><a href="/react/" title="React">React</a><a href="/flex/" title="Flex">Flex</a><a href="/antdesign/" title="Ant Design">Ant Design</a><a href="/webfrontend/" title="Web前端">Web前端</a><a href="/weapp/" title="微信小程序">微信小程序</a><a href="/wxmp/" title="微信公众号">微信公众号</a><div class="clearfix"></div> </div> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- f2er-rightads --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7756441254" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">最新文章</label> <ul class="n-list"><li><a href="/js/997747.html" title="Javascript中的事件冒泡与捕获" target="_blank">• Javascript中的事件冒泡与</a></li> <li><a href="/js/997746.html" title="搞懂js中小数运算精度问题原因及解决办法" target="_blank">• 搞懂js中小数运算精度问题</a></li> <li><a href="/js/997744.html" title="搞懂:前端跨域问题JS解决跨域问题VUE代理解决跨域问题原理" target="_blank">• 搞懂:前端跨域问题JS解决</a></li> <li><a href="/js/997743.html" title="前端对base64编码的理解,原生js实现字符base64编码" target="_blank">• 前端对base64编码的理解,</a></li> <li><a href="/js/997742.html" title="搞懂:MVVM模型以及VUE中的数据绑定数据劫持发布订阅模式" target="_blank">• 搞懂:MVVM模型以及VUE中的</a></li> <li><a href="/js/997493.html" title="js实现横向跑马灯效果" target="_blank">• js实现横向跑马灯效果</a></li> <li><a href="/js/997318.html" title="js判断浏览器是否支持webGL" target="_blank">• js判断浏览器是否支持webG</a></li> <li><a href="/js/997317.html" title="js判断undefined和null" target="_blank">• js判断undefined和null</a></li> <li><a href="/js/997316.html" title="将文字自动转为banner打印形式的工具" target="_blank">• 将文字自动转为banner打印</a></li> <li><a href="/js/997315.html" title="聊一聊 bootstrap 的轮播图插件" target="_blank">• 聊一聊 bootstrap 的轮播图</a></li> </ul> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">热门标签 <span class="pull-right tx-12"> <a href="/all" target="_blank">更多 ►</a></span> </label> <div class="topcard-tags"><a href="/tag/guanbiyangao/" title="关闭广告" target="_blank">关闭广告</a><a href="/tag/danduheaders/" title="单独headers" target="_blank">单独headers</a><a href="/tag/fengzhuangdaima/" title="封装代码" target="_blank">封装代码</a><a href="/tag/tishicuowu/" title="提示错误" target="_blank">提示错误</a><a href="/tag/zhengshuzhengze/" title="整数正则" target="_blank">整数正则</a><a href="/tag/fei0kaitou/" title="非0开头" target="_blank">非0开头</a><a href="/tag/tiaoye/" title="跳页" target="_blank">跳页</a><a href="/tag/chuyema/" title="出页码" target="_blank">出页码</a><a href="/tag/antdtable/" title="antd table" target="_blank">antd table</a><a href="/tag/tishiURLweizhuce/" title="提示URL未注册" target="_blank">提示URL未注册</a><a href="/tag/gongzhonghaozhifu/" title="公众号支付" target="_blank">公众号支付</a><a href="/tag/vuehashmoshi/" title="vue hash模式" target="_blank">vue hash模式</a><a href="/tag/iSlider/" title="iSlider" target="_blank">iSlider</a><a href="/tag/chepaijianpan/" title="车牌键盘" target="_blank">车牌键盘</a><a href="/tag/xunhuantupian/" title="循环图片" target="_blank">循环图片</a><a href="/tag/echartsshuangzhexian/" title="echarts 双折线" target="_blank">echarts 双折</a><a href="/tag/zuoyoubuju/" title="左右布局" target="_blank">左右布局</a><a href="/tag/DllPlugin/" title="DllPlugin" target="_blank">DllPlugin</a><a href="/tag/duixiangchuangjian/" title="对象创建" target="_blank">对象创建</a><a href="/tag/daziyouxi/" title="打字游戏" target="_blank">打字游戏</a><a href="/tag/quanxuan/" title="圈选" target="_blank">圈选</a><a href="/tag/lianglan/" title="两栏" target="_blank">两栏</a><a href="/tag/yunhanshu/" title="云函数" target="_blank">云函数</a><a href="/tag/mengban/" title="蒙版" target="_blank">蒙版</a><a href="/tag/ES2020/" title="ES2020" target="_blank">ES2020</a><a href="/tag/chuchuang/" title="橱窗" target="_blank">橱窗</a><a href="/tag/wufenggundonglunbo/" title="无缝滚动轮播" target="_blank">无缝滚动轮播</a><a href="/tag/sekuaipengzhuang/" title="色块碰撞" target="_blank">色块碰撞</a><a href="/tag/zujianxiaohui/" title="组件销毁" target="_blank">组件销毁</a><a href="/tag/wendangcaozuo/" title="文档操作" target="_blank">文档操作</a></div> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- f2er-rightads --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7756441254" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <!-- row end --> </div> <!-- right end --> </div> </div> <footer id="footer"> <div class="container"> <div class="row hidden-xs"> <dl class="col-sm-6 site-link"> <dt>最近更新</dt><dd><a href="/win11/1005688.html" title="重装系统软件怎么保留文件" target="_blank">· 重装系统软件怎么保留文件</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005687.html" title="重装系统保留软件:简单教程" target="_blank">· 重装系统保留软件:简单教程</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005686.html" title="如何重装系统并保留软件" target="_blank">· 如何重装系统并保留软件</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005685.html" title="如何重装系统软件并保留数据" target="_blank">· 如何重装系统软件并保留数据</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005684.html" title="如何重装系统软件并保留网络设置" target="_blank">· 如何重装系统软件并保留网络设置</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005683.html" title="如何重装台式电脑系统" target="_blank">· 如何重装台式电脑系统</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005682.html" title="如何重装系统并保留原有软件" target="_blank">· 如何重装系统并保留原有软件</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005681.html" title="如何重装Lenovo电脑系统" target="_blank">· 如何重装Lenovo电脑系统</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005680.html" title="重装系统保留数据:轻松恢复系统,保留重要文件" target="_blank">· 重装系统保留数据:轻松恢复系统,保留重要文件</a><span class="text-muted pull-right">12-02</span></dd> <dd><a href="/win11/1005679.html" title="无法正常开机,如何重装系统" target="_blank">· 无法正常开机,如何重装系统</a><span class="text-muted pull-right">12-02</span></dd> </dl> <dl class="col-sm-4 site-link"> <dt>好站推荐</dt><dd> <a href="https://www.runoob.com" title="菜鸟教程(www.runoob.com)提供了编程的基础技术教程, 介绍了HTML、CSS、Javascript、Python,Java,Ruby,C,PHP , MySQL等各种编程语言的基础知识。 同时本站中也提供了大量的在线实例,通过实例,您可以更好的学习编程。" target="_blank">菜鸟教程</a></dd><dd> <a href="https://www.jb51.cc" title="编程之家(www.jb51.cc)是成立于2017年面向全球中文开发者的技术内容分享平台。提供编程导航、编程问答、编程博文、编程百科、编程教程、编程工具、编程实例等开发者最需要的编程技术内容与开发工具支持,与你一起学习编程,相信编程改变未来!" target="_blank">编程之家</a></dd><dd> <a href="" title="前端之家 f2er.com 前端开发人员所需学习知识手册。" target="_blank">前端之家</a></dd></dl> <dl class="col-sm-2 site-link"> <dt>商务合作</dt> <dd><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=76874919&site=qq&menu=yes">联系我们</a></dd> </dl> </div> <div class="copyright"> Copyright © 2019 前端之家. 当前版本 V7.0.16<br> <span class="ml5">前端之家 版权所有 <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">闽ICP备13020303号-10</a></span> </div> </div> </footer> <script type="text/javascript" src="/js/base.js"></script> </body> </html>