I have a iFrame and it is loading dynamically with
$("#myFrame").attr('src', url);
There are many links inside the iframe.While clicking on any link it loads another URL automatically.I want to show spin (load...) image in between opening a new URL. I've tried below
$('#myFrame').load(function(){ });
But above executes once frame is loaded with new URL.I want to track before load complete event.How can I track duration when frame is in loading state. Please help.