tags:

views:

53

answers:

1

iframe load event in jQuery is not working in IE6

var iframe = this.iframe;
iframe.load(function(){


});   
+1  A: 

Just noticed the this.iframe - i think you want:

var iframe = $('#iframe-ID-or-Class');
iframe.load(function() {
   //executable code
}
Neurofluxation
this.iframe = $('<iframe name="' + name + '" id="ifrm"></iframe>') .css('display', 'none') .appendTo('body');
??? what is this for?
Neurofluxation
for ajax file upload.i am using jquery.ajax_upload.0.6.js, iframe.load() is called from onSubmit() event of ajax_upload.js
Please include all this in your question, people won't read EVERY comment to see all your code...
Neurofluxation