jimfog Posted January 7, 2013 Share Posted January 7, 2013 I have created a form where the user is given the option to add some optional fields. The problem is that when the fields are added. at some point, the vertical length of the form is increased and you have to use the browser vertical scroll bar to see lastly added input fields. I want this to happen automatically such that the user has always in sight the lastly added fields and the submit button. Here is a link to an image where it might help you understand better what I am talking about:https://skydrive.live.com/redir?resid=BE27434B2AAC8130!249 Link to comment Share on other sites More sharing options...
jeffman Posted January 7, 2013 Share Posted January 7, 2013 The scrollIntoView method might be what you need. Apply it to one of the newly created elements. Link to comment Share on other sites More sharing options...
jimfog Posted January 7, 2013 Author Share Posted January 7, 2013 Is there a Jquery equivalent method? Link to comment Share on other sites More sharing options...
jeffman Posted January 7, 2013 Share Posted January 7, 2013 You shouldn't need one -- unless you want to scroll higher. There are several techniques you can use for that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now