Click to See Complete Forum and Search --> : Textbox losing focus causes event?


geuis
04-10-2003, 11:25 AM
I would like to make it so that when a text box has focus, when it loses focus it triggers an event.
I am trying to make it so that a user to my page has to enter their name into the box and if they try to click on something else w/o typing anything in, it will either put up an alert or will put focus back into the box.
Mainly, I just need to know how to get it to detect loss of focus. Thanks.

Geuis

geuis
04-10-2003, 11:59 AM
nevermind. Found that onblur does exactly what I need.