Attached is the simple html file comprising two textboxes having similar onblur function mentioned in head section of page.
Scenario 1 :
If I tab out from first textbox it gives me alert message for infinite times and page gets stuck. This scenario happens only when I have multiple textbox on page.
Scenario 2:
If I remove one textbox and comment out another one then scenario 1 is not produced.
Question:
Why in scenario 1 page gets stuck because of infinite alert messages?
HTML Code for more convenience (if anybody is reluctant to extract the zip file):
function testmethod()
{
alert ("hi");
return false;
}

Sai Kumar KoonaRank #334 · 7.5K reputationPosted Sep 26, 2018, 2:08 AM EDT
Chintan Dave56 reputationPosted Sep 26, 2018, 3:05 AM EDT