Title: Onclick event
Last modified: August 30, 2016

---

# Onclick event

 *  Resolved [Fanus](https://wordpress.org/support/users/howdous/)
 * (@howdous)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/onclick-event-4/)
 * How does the Onclick event option work? Would that scroll to a specific section
   in a page and if so, how ould I achieve this?
 * [https://wordpress.org/plugins/smooth-scroll-up/](https://wordpress.org/plugins/smooth-scroll-up/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Konstantinos Kouratoras](https://wordpress.org/support/users/kouratoras/)
 * (@kouratoras)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/onclick-event-4/#post-6457302)
 * You insert just the JS code, for example:
    `myFunction()`
 *  Plugin Author [Konstantinos Kouratoras](https://wordpress.org/support/users/kouratoras/)
 * (@kouratoras)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/onclick-event-4/#post-6457456)
 * I mark this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Onclick event’ is closed to new replies.

 * ![](https://ps.w.org/smooth-scroll-up/assets/icon-256x256.png?rev=974000)
 * [Smooth Scroll Up](https://wordpress.org/plugins/smooth-scroll-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smooth-scroll-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smooth-scroll-up/)
 * [Active Topics](https://wordpress.org/support/plugin/smooth-scroll-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smooth-scroll-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smooth-scroll-up/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Konstantinos Kouratoras](https://wordpress.org/support/users/kouratoras/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/onclick-event-4/#post-6457456)
 * Status: resolved