The dreaded IE strike again. :(
I've been developing an image selection and upload tool for Tiny MCE using modal dialogs over the last few days. During the script, jQuery's load() function is used a number of times to load external HTML and insert it within a specified div element.
Everything has been going ok, even in IE, until about half an hour ago when I booted IE to check a change and all of the load() calls now do nothing. Where the content should appear in the document (having checked the developer tools), there is an empty div. There are no errors reported either. I can however, update the element manually by using html().
Up until a few hours ago it was all working fine in IE... now it does nothing. I've tried using full addresses (no such luck), have cleared the browser cache and tried sending no-cache headings from the php document being called by load(). Could it be some kind of caching issue?
Here is an example of the first of many similar calls:
//Create the dialog.
if ($('#imgPropDialog').length == 0) {
$('body').append('<div id="imgPropDialog" class="jqmWindow"></div>');
$('#imgPropDialog').load('system/admin/ajax/image_properties.php');
}
The imgPropDialog div is correctly added and appears within the document in IE. But the contents of image_properties.php never appears. Works fine in Chrome (and presumably every other browser than IE).
Any ideas before I start ripping out all my changes? Thanks