I’m working on a website that includes Facebox to load content for a basket process.
When adding something to the basket and clicking the green wishlist button I’m having trouble with it loading in IE8, it works on all the modern browsers. Can anyone see why it won’t load content in IE8 in the facebox?
I’m using this code on the wishlist button:
<div onclick="location.href='wishlist.php?basket=true'" rel="msgbox" id="mybasket">
Is it enough info to view source on the link to the site? If you need any more code then please ask.
On a Mac using Chrome – as you can see the facebox has opened fine when clicking on the green wishlist button.
On a PC using IE8 – when clicking on the green wishlist button the facebox opens but doesn’t load the content.
This is a problem with the returned data, You have an extra
</div>at the end.In the line of starting with
<div id="msgbox_actions">, at the end of it after the comments, is the extra</div>This is breaking your html, which IE doesn’t know how to fix, yet other browsers are able to.