My app has a lot of dynamically loaded pages just like the Kitchen Sink demo. But for some reason, every time I load a page from an item-link, I get this in the js console:
XML Parsing Error: junk after document element
The line/column point to the first column of the 7th line here (class=“pages” line):
Title
...
Why do I get this error? Everything works but the error is consistent on every page I dynamically load and I’m figuring I’m doing something wrong. This is the same format used in accordian.html in the Kitchen Sink demo but that doesn’t generate the error…
Ahhh…yes. When I run the Kitchen Sink code locally, I get the same error on every dynamically loaded page.
When I run Kitchen Sink directly from the F7 website, there are no errors when the pages are dynamically loaded - perhaps the code on the website is different?