Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"document.body.onload" Safari Issue

Hi,

I have a javascipt block in my page. The works fine in IE browser, but not in Safari.
When I debug the code, I found cause for the problem and its "document.body.onload"

I am calling a jsDefaults() in onLoad, this is not getting called when browser is Safari. How to fix this?

Code:
<script language="javascript">
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.forms("EMPLOYEE");
}

document.body.onload = function jsDefaults(){

}
</script>

Windows, Windows XP

Posted on Jan 29, 2008 12:25 PM

Reply
1 reply

"document.body.onload" Safari Issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.