tags:

views:

24

answers:

0

I used a jquery file to upload files ie ajaxuploader without any flash.. it loads a iframe on loading the jquery but its not working in IE 6, but it works fine in IE 7 the onload funciton is not working in IE 6,,

i have used a ajaxuploader.js file to do this operation,,, pls help

var name = 'iframe_au' + get_uid();

// create iframe, so we dont need to refresh page to avoid postback in fileupload

this.iframe = $('<iframe name="' + name + '"></iframe>')
.css('display', 'none')
.appendTo('body');  

onload event

var iframe = this.iframe;
iframe.load(function(){
  var response = iframe.contents().find('body').text();
});

but this onload event is not firing in IE 6 but it works in IE7 etc..