首页 > 软件网络

页面中动态的引入html页面使用了jQuery中load方法,但是谷歌浏览器不兼容怎么办?

时间:2017-01-05  来源:  作者:

在页面上动态的加载html页面,使用了jQuery的load方法火..._CSDN论坛

在页面上动态的加载html页面,使用了jQuery的load方法火狐可以用,但是在谷歌浏览器不可以,我查了以后网上说是谷歌不支持load方法,那怎么办?求告谢谢 ...

chrome 等浏览器无法使用jquery中ajax的load()方法,那..._CSDN论坛

等浏览器无法使用jquery中ajax的load()方法,那我要引入这个网页要怎么办?用...xxx.load不支持 你自己直接用$.ajax加载一个html页面在动态处理就可以了 对我...

jquery中的.load()在谷歌浏览器里面怎么不行_百度知道

jquery中的.load()在谷歌浏览器里面怎么不行 问个问题,我用jquery写了句代码...#dictionary\').load(\'a.html\');”的a.html能加载出来,但是在谷歌浏览....

load()方法---jQuery动态加载html

jQuery 使用浏览器的 .innerHTML 属性来解析被取回的文档,并把它插入当前文档。在此过程中,浏览器常会从文档中过滤掉元素, 比如, 或...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=f94791e2&u=aHR0cDovL3d3dy5vc2NoaW5hLm5ldC9xdWVzdGlvbi8yMjA4NDNfMzg0MDQ=&t=anF1ZXJ5IGxvYWQg5Yqg6L29aHRtbCDkvYbmmK9odG1s5YyF5ZCr55qEanPkuI3nlJ@mlYggLOaxguWKqSEhLi4uX!W8gOa6kOS4reWbvQ==&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">jquery load 加载html 但是html包含的js不生效 ,求助!!..._开源中国</a></strong></p><div class="std">jquery load 加载html 但是html包含的js不生效 ,...而且浏览器兼容性也很差… 评论(0)| 引用此答案|...通过load将页面加载到某个标签中,在很多浏览器中根本...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=bc883259&u=aHR0cDovL3d3dy54dWUxNjMuY29tLzIxNTkvMS8yMTU5MjA4Mi5odG1s&t=Y2hyb21lIOetiea1j!iniOWZqOaXoOazleS9v!eUqGpxdWVyeeS4rWFqYXjnmoRsb2FkKCnmlrnms5Us6YKjLi4uX!S4reWbveWtpue9kQ==&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">chrome 等浏览器无法使用jquery中ajax的load()方法,那..._中国学网</a></strong></p><div class="std">浏览器无法使用jquery中ajax的load()方法,那我要引入这个网页要怎么办?...xxx.load不支持 你自己直接用$.ajax加载一个html页面在动态处理就可以了...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=e4d01039&u=aHR0cDovL3d3dy5qYjUxLm5ldC9hcnRpY2xlLzU2NDcwLmh0bQ==&t=55SoSnF1ZXJ5LmxvYWTovb3lhaXpobXpnaLlkI7moLflvI@msqHkuobpobXpnaLmt7fkubHnmoTop6PlhrPmlrnms5U=&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">用Jquery.load载入页面后样式没了页面混乱的解决方法</a></strong></p><div class="std">因为开始不懂Jquery,一直想用jquery.load的方法载入...</body></html> 在原页面A.html中加载调用的jquery...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=dc78c04e&u=aHR0cDovL3d3dy5pdGV5ZS5jb20vcHJvYmxlbXMvMjExMzM=&t=anF1ZXJ5IGxvYWTmlrnms5XmiorkuIDkuKrpobXpnaLovb3lhaXliLDkuLvpobXpnaLnmoTkuIDkuKpkaXbkuK0s6L295YWl6aG16Z2i55qELi4u&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">jquery load方法把一个页面载入到主页面的一个div中,载入页面的...</a></strong></p><div class="std">jquery load方法把一个页面载入到主页面的一个div中,载入页面的javascript消失了 1、index.html里面有两个div,一个是id是menu,另一个是work,代码如下 <html...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=7fb0bb18&u=aHR0cDovL3d3dy5lZHVjaXR5LmNuL3dlbmRhLzEzNDQzLmh0bWw=&t=anF1ZXJ55Lit5L2@55SobG9hZOWKoOi9veWklumDqGh0bWzmlofku7Ys5LiN5omn6KGMSmF2YVNjcmlwdOeahOino!WGs!aWueazlQ==&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">jquery中使用load加载外部html文件,不执行JavaScript的解决方法</a></strong></p><div class="std">最近自己在写jquery的扩展插件遇到个问题就是,使用load加载外部的html文件,但是加载了想要加载的内容之后,发现JavaScript不执行,并没有加载进来,上网看了看解决办法找到...</div></div> <div class="g"><p><strong><a href="http://www.xierhe.com/it/?a=url&k=85eb75fb&u=aHR0cDovL3d3dy5pbW9vYy5jb20vd2VuZGEvZGV0YWlsLzI0OTAyOA==&t=anF1ZXJ5IGxvYWTmlrnms5XosIPnlKhodG1s5YWs5YWx6aG16Z2i6Zeu6aKYPz8@Li4uX!aFleivvueMv!mXrg==&s=6aG16Z2i5Lit5Yqo5oCB55qE5byV5YWlaHRtbOmhtemdouS9v!eUqOS6hmpRdWVyeeS4rWxvYWTmlrnms5XvvIzkvYbmmK@osLfmrYzmtY@op4jlmajkuI3lhbzlrrnmgI7kuYjlip7vvJ8=" target="_blank" class="s" rel="nofollow">jquery load方法调用html公共页面问题???..._慕课猿问</a></strong></p><div class="std"> 将页面导航的html代码,另存为一个nav.html文件;然后index.html页面要用导航时,用jquery load();方法来调用这个nav.html; ...</div></div> </div> <p align="center" class="pageLink"></p></td> </tr> </table> <table border="0" align="center" cellpadding="0" cellspacing="8"> <tr> <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="digg"> <tr> <td class="diggnum" id="diggnum"><strong><script type="text/javascript" src="/e/public/ViewClick/?classid=1&id=33528&down=5"></script></strong></td> </tr> <tr> <td class="diggit"><a href="JavaScript:makeRequest('/e/public/digg/?classid=1&id=33528&dotop=1&doajax=1&ajaxarea=diggnum','EchoReturnedText','GET','');">来顶一下</a></td> </tr> </table></td> <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="digg"> <tr> <td valign="middle" class="diggnum"><strong><a href="/"><img src="/skin/default/images/back.gif" alt="返回首页" width="12" height="13" border="0" align="absmiddle" /></a></strong></td> </tr> <tr> <td class="diggit"><a href="/">返回首页</a></td> </tr> </table></td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td align="left"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:550px;height:300px" data-ad-client="ca-pub-5881631671576572" data-ad-slot="1532319152"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td> </tr> </table> </td> <td class="sider"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="title"> <tr> <td></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td align="center"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- x300250 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-5881631671576572" data-ad-slot="7105575154"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="title margin_top"> <tr> <td></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td align="center"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 300600 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-5881631671576572" data-ad-slot="7676441552"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="title margin_top"> <tr> <td><strong>栏目更新</strong></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td><ul> <script src='/d/js/class/class1_newnews.js'></script></ul></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="title margin_top"> <tr> <td></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- xlj20090 --> <ins class="adsbygoogle" style="display:inline-block;width:200px;height:90px" data-ad-client="ca-pub-5881631671576572" data-ad-slot="5151163956"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="title margin_top"> <tr> <td><strong>栏目热门</strong></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box"> <tr> <td><ul> <script src='/d/js/class/class1_hotnews.js'></script></ul></td> </tr> </table> </td> </tr> </table> <!-- 页脚 --> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" class="search"> <form action="/e/search/index.php" method="post" name="searchform" id="searchform"> <table border="0" cellspacing="6" cellpadding="0"> <tr> <td><strong>站内搜索:</strong> <input name="keyboard" type="text" size="32" id="keyboard" class="inputText" /> <input type="hidden" name="show" value="title" /> <input type="hidden" name="tempid" value="1" /> <select name="tbname"> <option value="news">站内</option> </select> </td> <td><input type="image" class="inputSub" src="/skin/default/images/search.gif" /> </td> </tr> </table> </form> </td> </tr> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="4" class="copyright"> <tr> <td align="center"><a href="/">网站首页</a> | <a href="#">关于我们</a> | <a href="#">服务条款</a> | <a href="#">广告服务</a> | <a href="#">联系我们</a> | <a href="#">网站地图</a> | <a href="#">免责声明</a> | <a href="/e/wap/" target="_blank">WAP</a></td> </tr> <tr> <td align="center">洗耳河文库<strong><a href="http://www.xierhe.com" target="_blank">Xierhe.com</a></strong> </td> <td> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?34a099dfb118d1d1aedc6f707a571e6a"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-96263074-1', 'auto'); ga('send', 'pageview'); </script> </td> </tr> </table> </td> </tr> </table> </body> </html>