By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,554 Members | 882 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,554 IT Pros & Developers. It's quick & easy.

smartnavigation and body onload events with norton internet security

P: n/a

I managed to figure this one out for myself but thought I would post it here
for the general good.

I have an 1.1 application which was using smart navigation and also
had a <body onload=...> javascript event handler. One user complained that
the form wasn't working properly and it became obvious that the onload event
handler wasn't being called after a postback.

A bit of investigation later (who am I kidding? - a whole bucketfull of
investigation later) we realised the problem went away when that user
disabled Norton Internet Security (NIS). You can repro this quite simply -
just make a sample 1.1 form with smartnavigation turned on and an
onload event. on a PC with NIS enabled, the onload doesn't fire after a

fortunately the solution is fairly simple too. instead of:

<body onload="foo();"> of page...

just use:

<body> of page...
document.body.onload = foo;

and all works fine. As far as I can tell the problem is specific to IE


Apr 12 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.