tehphp
02 Apr 2009, 06:07 PM
Hello... I am having trouble with something to do with iFrames and javascript! I am totally stumped on it...and i must finish it!!! :splat::splat:
So, once upon a time... I have an iFrame...
<iframe src="http://127.0.0.1/test.html">
And...I have a javascript function that detects if the `src` has changed of that iframe. All good? No!! When i change the `src` outside the iframe, it works and shows the message I want. But, when i change the url INSIDE the iframe, nothing happens. It's almost like...it doesn't change the src of the iFrame. Please help!
So, once upon a time... I have an iFrame...
<iframe src="http://127.0.0.1/test.html">
And...I have a javascript function that detects if the `src` has changed of that iframe. All good? No!! When i change the `src` outside the iframe, it works and shows the message I want. But, when i change the url INSIDE the iframe, nothing happens. It's almost like...it doesn't change the src of the iFrame. Please help!