I came to the same conclusion once I got it working, and found a
better way to alert the user. But, there are other occasions where I
need to set the focus from within a similar callback where it is
useful. So I'm still happy we discussed it.
Thanks!
On Sep 9, 10:33 pm, Mr Speaker wrote:
> I
I think they don't let you hold focus for a reason... I've tried it on
a couple of my forms and it's annoying! I wanna leave it blank and
come back to it damn it! ;)
On Sep 10, 2:27 pm, Mr Speaker wrote:
> It's like tabbing to the next field is NOT the default action - but
> something more intri
It's like tabbing to the next field is NOT the default action - but
something more intrinsic/unrelated. So even if you cancel the default
action, it doesn't stop the tab? weird.
I was also thinking that it would be a good idea to plugin-erise this
functionality, so if there's a better way to do i
Thanks! I knew about the validate stuff, it was kind of a quick and
dirty example. But I appreciate your bringing it all to my attention.
The jQuery docs for blus() say "the default action can be prevented
by returning false". Maybe it should be corrected.
Your suggestion of using setTimeout pr
I think the problem is that according to the W3C standards, the blur
event is not cancelable: They don't seem to want the programmer to be
able to mess with a blur...
But also, your validation code is a bit buggy anyway: the "ret"
variable is undefined and the regex you use will only catch the ca
5 matches
Mail list logo