SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Jul 27, 2007, 10:07 #1
- Join Date
- Feb 2006
- Location
- Altoona, PA. USA
- Posts
- 1,945
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
can you tell when iframe content has changed?
I have a page where I load in a template from another company via IFRAME, the template I cannot change, but on a certain page of the template within the iframe I would like to tell the user some extra information, but my page remains the same and only the information in the iframe reloads, so is there a way to tell when the iframe changes so i can innerHtml some extra info on certain parts?
Thanks.
-
Jul 27, 2007, 13:24 #2
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- Mentioned
- 25 Post(s)
- Tagged
- 1 Thread(s)
If the iframe is loading from a different domain then you have no access to see what it contains at all.
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
-
Jul 27, 2007, 17:06 #3
- Join Date
- Feb 2006
- Location
- Altoona, PA. USA
- Posts
- 1,945
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I dont need to know what it contains I just need to know if it is changing, theres no way to tell that it has been refreshed?
yes it is on a different domain.
-
Jul 28, 2007, 03:39 #4
- Join Date
- Jul 2006
- Location
- Thailand
- Posts
- 162
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
onload.
Bookmarks