parent html:
This works fine and "page1.html" is loaded into "targetdiv".Expand|Select|Wrap|Line Numbers
- $("#targetdiv").html(loading).load('page1.html');
The "page1.html" also has a link in it that is supposed to ajaxload another page ("page2.html") into "targetdiv" (onto itself), like so:
page1.html:
This does not work; "html(loading)" comes up in "targetdiv" and stays there, "page2.html" is not loaded.Expand|Select|Wrap|Line Numbers
- $("#targetdiv").html(loading).load('page2.html');
If you're sure why this is so, tell me and I'll owe you a beer.
All the best...
(This page/site is not available on line.)