使用jquery更改iframe源无法在Firefox中运行 [英] Changing iframe source with jquery not working in Firefox

查看:73
本文介绍了使用jquery更改iframe源无法在Firefox中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用下面的代码行添加iframe的src这个代码工作正常的IE浏览器和Chrome浏览器,但它不能在firefox中工作,当我放这个控制台中的代码也可以在firefox中正常工作。



$(#iframelogout)。attr('src','https://Someurl.com' );



请尽快帮忙。

提前致谢

Hi All,
I using below line of code to add the src of an iframe this code is working fine IE and chrome browser, buts its not working in firefox ,and when i am putting this code in console its working properly in firefox as well.

$("#iframelogout").attr('src', 'https://Someurl.com');

Please help asap.
Thanks in advance

推荐答案

(#iframelogout)。attr('src','https://Someurl.com' );



请尽快帮忙。

提前致谢
("#iframelogout").attr('src', 'https://Someurl.com');

Please help asap.
Thanks in advance


这篇关于使用jquery更改iframe源无法在Firefox中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆