[web2py] Re: jQuery .focus()

2011-07-18 Thread annet
Hi Chris, Thanks for your reply. Problem solved and something learned. Kind regards, Annet.

[web2py] Re: jQuery .focus()

2011-07-18 Thread Chris May
To select an element by ID in jQuery, you can use the CSS-like syntax #id. jQuery("#key1).focus(); Your jQuery("input.key1").focus(); statement told jQuery to look for an input with the class property of "key1". On Jul 18, 3:54 am, annet wrote: > In web2py_ajax.html I have the following line o