3 Replies Latest reply on Jan 14, 2008 5:15 PM by kglad

    Validate text upon focus out

      I am trying to set up a function to validate a text input box to validate text upon leaving the text input box. I can get it to validate upon a change event but the focusOut doesn't work. Also, I am trying to change the color of the border to red and can get this with some success but still have some problems with the code. The addEventListener code is in a seperate function which is called when the application loads and anytime after when it is needed. Right now I am having an issue with not being able to get the object name or text values so it doesn't work at all like it should.