سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top