5

Allright this might be a general question but i wasn't able to find an answer to it.

I want the browser to move to another division(part) of the page once a user has clicked a specific button.How can this be achieved.

6
  • How were you not able to find a solution to this? stackoverflow.com/questions/4744751/javascript-redirect Commented Feb 7, 2014 at 12:18
  • 1
    Keep calm and Google. Commented Feb 7, 2014 at 12:18
  • You didn't get the question. I want the user to be able to redirect to another part of the page not to another page. Please take your negative back Commented Feb 7, 2014 at 12:20
  • @user3274745 Your question and your description of question didn't match. Please change your question title. Commented Feb 7, 2014 at 12:21
  • @user3274745 Well, in that case, Amit's solution should work. Commented Feb 7, 2014 at 12:22

1 Answer 1

8

<a href="#idOfAnotherPart">Click Here</a> will move the page to the div or some other element whose id is idOfAnotherPart

Sign up to request clarification or add additional context in comments.

3 Comments

7 mins left for it ? What is it ?
There's a time after which you can accept an answer.
Thanks mates, didn't know it

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.