PDA

View Full Version : Problem with onBlur in Netscpae 4.72


learner
08-17-2002, 12:00 PM
Hi,

I have 2 text boxes and i call onBlur function in both.

code is:

<html>
<body>
<form name="FormName">
<input type="text" onBlur="javascript:alert('Hi')" name="AName" size="12">
<input type="text" onBlur="javascript:alert('Helo')" name="AName" size="12">
</form>
</body>
</html>


Everything is fine in IE.


But in Netscape4.72 after the form has loaded i keep the cursor in one textbox and then i try to minimize the window.The window gets minimized and the onBlur function fires and the alert comes.


After that i click OK in that alert and place the cursor in the next textbox.When i again move focus out of the textbox the onBlur function is not firing and the alert is not coming.


What could be the problem

Thanks
learner