setfocus not working at xforms-ready step
Brought to you by:
ajaxforms
Because xforms-ready is followed by a refresh, during initialization, input fields are deleted and re-created just after.
So, any setfocus executed at xforms-ready step is lost.
(fixed in XSLTForms: http://www.agencexml.com/xsltforms/\)