May 18, 2013

JQuery Load, Notify Calling Window?

MvcNewbie’s Question:

I am using the JQuery event “load” to notify when the entire html window has loaded as well as all scripts have executed. I understand the intention of this function is to be used with in the document.ready event. However, I have one window spawning other windows and I need for the parent window to be notified when the child window is completely finished loading so I can insert saved content. Can anyone please guide me in the right direction.

Thank you!

You can check the loaded event using load event

$('#iframe').on('load', function (e) {
   //.......
});

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!