Hi All,
You my want to know sometimes that is the page loaded completely?
This simple javascript function can let you know:
var body = document.getElementsByTagName('BODY')[0];
if (body && body.readyState == 'loaded')
{
AfterLoad();
}
else
{
if (window.addEventListener)
{
window.addEventListener('load', AfterLoad, false);
}
else
{
window.attachEvent('onload', AfterLoad);
}
}
function AfterLoad()
{
alert("page loaded !!!");
}
Thats it...
Thanks,
Nitin Sharma