开发者

How to change iframe src at runtime? [duplicate]

开发者 https://www.devze.com 2022-12-21 15:34 出处:网络
This question already has an answer here: 开发者_如何学CClosed 12 years ago. Possible Duplicate: I have a problem with IFrame .
This question already has an answer here: 开发者_如何学CClosed 12 years ago.

Possible Duplicate:

I have a problem with IFrame .

Now i am using iframe.attribute("src")="..Pages/page.aspx"....In Chrome and ie this one is working.....but Firefox not?Can anyone know the reason?


try This ..

 iframe.attribute("src")="../Pages/page.aspx"


If you really have "..Pages/Page.aspx" then you are missing a backslash between .. and Pages

 iframe.attribute("src")="../Pages/page.aspx"
                           ^^^
0

精彩评论

暂无评论...
验证码 换一张
取 消