Forum Moderators: open

Message Too Old, No Replies

Problems with onBlur

Problems with onBlur

         

optik

5:24 pm on Dec 12, 2007 (gmt 0)

10+ Year Member



Hi

The onBlur listener seems to be the way to do ajax form validation and I have got this working for the first time. But I've noticed on my work and other sites that onBlur is pretty unreliable maybe about 5% of the time I will click to go to the next text field and the listener doesn't run.

Is there anything I can do to improve onBlur or is there an alternative listener that works better.

This is not my imagination btw I see happening quite often.

Thanks

optik

5:27 pm on Dec 12, 2007 (gmt 0)

10+ Year Member



I forgot to add it's almost impossible to actually make happen when you try, there seems to be no factor causing it which I can tell.

Dabrowski

10:03 pm on Dec 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have used onBlur a lot, I have a universal JS form validator which relies entirely on it. Can't say I've ever had a problem.

optik

12:09 pm on Dec 14, 2007 (gmt 0)

10+ Year Member



Maybe it is a Safari issue, it definitely happens quite consistantly though, usually when testing quickly it occurs.

Dabrowski

2:21 pm on Dec 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ok, I have never tested in Safari, so maybe this is the problem. Maybe someone else can confirm.