muneebShabbir
muneebShabbir

Reputation: 2538

before load function for iframe

is there any way to capture the state of iframe when data is getting load? Onload is fired when all of content is load.

please help

thanks

Upvotes: 1

Views: 4455

Answers (1)

muneebShabbir
muneebShabbir

Reputation: 2538

$('#frame').load(function() { 
                    // do work
                     });

This Jquery load function runs before function 'onload'. i also implemented this,as an alternate for before load because beforeload is not supports for iframe

Upvotes: 3

Related Questions