Django: How do I position a page when using Django templates
Posted
by swisstony
on Stack Overflow
See other posts from Stack Overflow
or by swisstony
Published on 2010-06-14T09:51:09Z
Indexed on
2010/06/14
10:02 UTC
Read the original article
Hit count: 308
django
I have a web page where the user enters some data and then clicks a submit button. I process the data and then use the same Django template to display the original data, the submit button, and the results. When I am using the Django template to display results, I would like the page to be automatically scrolled down to the part of the page where the results begin. This allows the user to scroll back up the page if she wants to change her original data and click submit again. Hopefully, there's some simple way of doing this that I can't see at the moment.
© Stack Overflow or respective owner