且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改iframe的src,然后重新加载iframe

更新时间:2021-11-16 09:17:02

要设置属性,你需要调用 .attr(attributeName,value)

To set attribute, you need to call .attr( attributeName, value )

试试这个:

var source='i load some address here';
bigFrame.attr('src', source);



参考:



jQuery .attr()