Link me.....
Link me.....
Out of context: Reply #9
- Started
- Last post
- 14 Responses
- shaft0
It's not easy to dynamically replace a div's innerHTML with an external html file since there is no .src attribute for this element. A good workaround is to create an invisible element that does have this attribute (there are very few, ie. iframe), change its .src attribute to our external html file and then copy the element's content to your div.
Let me know if you still need it, I might try to find some time to play with JS.BTW.. what's wrong with iframe? :)