Are you calling the function from more than one text field? Paul -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Iztok Polanic Sent: 18 February 2005 12:15 To: [JavaScript List] Subject: [Javascript] onBlur & onFocus together Hi! I'm building a web form. I'm using a onBlur event to check if the string is correct. Otherwise it should go back to that field (via onFocus). Strange thing is, that I'm trapped in a loop. Why is this happening and how to solve this? -- Bye, Iztok _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript