When I debug it using IE8, the content variable on line 241 evaluates to the DOM node represented by your main div, which is on line 86 when you view source:
<div id="main" class="nonav span-24 last">
is this what you intended? Maybe you could try being more explicit - something like this:
document.getElementById("content")
rather than just using the ID? As this is a DOM node, you should try setting properties explicitly too:
document.getElementById("content").innerHTML = ’<li>’
This is hard to debug from here, as we can’t make changes, but maybe this will nudge things in the right direction?
-
☆ A M B ☆
- 326 Posts
Woohoo! Making progress. Sir William was right. I added var content = ’’; as the first line of my each loop, and the feed now parses nicely into the playlist. For some reason, it still isn’t generating the YouTube video, though. However, now that I’ve nailed it down as a JQuery problem, I hate to keep clogging up the MODx forums. If anyone has an obvious answer, please let me know; otherwise, I’ll go ask it on the JQuery forums.
Saved by the forums once again! Thank you all so much!
-
☆ A M B ☆
- 326 Posts
Okay, I lied -- it is working in IE now. For some reason, it’s not showing up in my VirtualBox IE8 install, but it’s fine on an actual PC. Good enough for me!