In my init_ajax.js file I set this:

jQuery("input:text:not(.date):first:visible").focus();


I have a form in which I set the first field to:

form.element('#no_table_name')['_readonly']=True

... therefore, in this single form, I would like to give the second
form field the focus (the form shares its view with other forms).

Is there something like:

form.element('#no_table_cocNumber')['_focus']=True


Kind regards,

Annet

Reply via email to