On Sat, Nov 1, 2008 at 10:18 AM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> Exellent point but there is a much easier solution.
>
> <script>
> $(document).ready(function() { $
> ("input:visible:enabled:first").focus(); });
> </script>
>
> This will always focus the first visible field of the first form.
> I now added it in web2py_ajax.html and will be the default with the
> next web2py version.
>
> Never underestimate the power of jQuery!
>thx! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

