I am trying to call two functions in body onunload event but didn't work.
Below is the first function that I am calling..
function closePopUps()
{
if(childPops.length == 0) return;
for(i=0; i<childPops.length; i++)
{
childPops[i].close();
}
}
Then the second function...
function updateStatus()
{
PageMethods.UPDATE_STATUS();
}
I called them like this...
<body onunload="closePopUps();updateStatus();">
But the second function doesn't work. It still didn't work whenever I tried to call only the updateStatus() function.