user455995
user455995

Reputation: 11

iframe load event not working in ie6

iframe load event in jQuery is not working in IE6

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


});   

Upvotes: 0

Views: 471

Answers (1)

Barrie Reader
Barrie Reader

Reputation: 10713

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

var iframe = $('#iframe-ID-or-Class');
iframe.load(function() {
   //executable code
}

Upvotes: 1

Related Questions