whenever I display the form to the users now the user has to click on
the first field; how do I make it automatically positioning on the first
user enterable form element (is there any javascript helpers)
thanks
whenever I display the form to the users now the user has to click on
the first field; how do I make it automatically positioning on the first
user enterable form element (is there any javascript helpers)
thanks
ror directory wrote:
how do I make it automatically positioning on the first
user enterable form element (is there any javascript helpers)
Use Prototype
<%=javascript_tag(‘Form.focusFirstElement(“form-dom-id”)’)%>
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs