* Confused wrote in comp.lang.javascript
:
>I'm having a problem with Firefox 2.0.0.14 on Windows XP Professional.
When I try putting an onfocus event on a page it just keeps looping
indefinitely. Has anyone else had problems with this?
Example code:
<script language="javascript">
function announce()
{
alert('Hi!');
}
</script>
A simple description of the problem would be that the focus moves from
the page to the alert, and then to the page again after you close the
message box. If you do not change focus from the focus handler, you'll
not have this problem.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de ·
http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 ·
http://www.websitedev.de/