# Onclick Pagination bar Scroll 

**URL:** <https://forum.wixstudio.com/t/onclick-pagination-bar-scroll/20385>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [August 1, 2018, 2:48pm UTC](https://forum.wixstudio.com/t/onclick-pagination-bar-scroll/20385 "2018-08-01T14:48:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![info65](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@info65](https://forum.wixstudio.com/u/info65)\
**Post date:** [August 1, 2018, 2:48pm UTC](https://forum.wixstudio.com/t/onclick-pagination-bar-scroll/20385/1 "2018-08-01T14:48:10Z")

</div>

Hello!

OK so I have a pagination bar under a repeater and need it to have an onclick event to bring the user back to the top of the page.

No clue what code I need to insert after creating the event so any help is appreciated!!
