How to change iframe src at runtime?

Possible duplicate:
I have a problem with IFrame.

Now I use iframe.attribute ("src") = ".. Pages / page.aspx" .... In Chrome, etc. this one works ..... but no firefox? Maybe someone knows the reason?

+4
source share
2 answers

try it.

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

If you really have "..Pages / Page.aspx", you are missing the backslash between .. and Pages

  iframe.attribute("src")="../Pages/page.aspx" ^^^ 
+1
source

Source: https://habr.com/ru/post/1302969/


All Articles