开发者

How to change iframe src at runtime? [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜