I want to achieve this:
When I successfully submitted a post, preferably it will scroll to the #newpost. If not possible, second best option is to scroll to the bottom of the page.
This is because I want to set the post editor "position: fixed".
When a user submit a post, it may be at the top of the page. So, I need it to scroll down to the new post after submitting.
Hope I make it clear for you.