Hi,
there are instances when the first element of the form is not an input
box, but say, as in my case, select box. I would still want the focus
on the first element. If there are more who agree, then alternatives
are

(simple) - changing $("input:visible:enabled:first").focus(); to $
(":text:visible:enabled:first").focus();
That fixes the issue for many cases.

Alternatives are 
http://www.gerd-riesselmann.net/development/focus-first-form-field-with-jquery
or http://github.com/dcadenas/auto_focusable_forms/tree/master

but that means more code in the nice and simple web2py_ajax

comments?

Cheers
Vihang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to