Title: Force to load all elements
Last modified: October 16, 2018

---

# Force to load all elements

 *  Resolved [Foxskav](https://wordpress.org/support/users/foxskav/)
 * (@foxskav)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/force-to-load-all-elements/)
 * Hi,
    It’s possible to force load all elements by JS? I need do somethink: When
   I click buttton i need to load all elements without scrolling.

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

 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/force-to-load-all-elements/#post-11073925)
 * Hi,
 * Yes it’s possible to do that. You need to get an instance of the lazyload JS 
   object, and then use the `loadAll()` method.
 *  Thread Starter [Foxskav](https://wordpress.org/support/users/foxskav/)
 * (@foxskav)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/force-to-load-all-elements/#post-11076700)
 * Thank You for fast answer 🙂

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

The topic ‘Force to load all elements’ is closed to new replies.

 * ![](https://ps.w.org/rocket-lazy-load/assets/icon-256x256.png?rev=2715509)
 * [LazyLoad Plugin – Lazy Load Images, Videos, and Iframes](https://wordpress.org/plugins/rocket-lazy-load/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rocket-lazy-load/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rocket-lazy-load/)
 * [Active Topics](https://wordpress.org/support/plugin/rocket-lazy-load/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rocket-lazy-load/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rocket-lazy-load/reviews/)

## Tags

 * [force](https://wordpress.org/support/topic-tag/force/)
 * [load](https://wordpress.org/support/topic-tag/load/)

 * 2 replies
 * 2 participants
 * Last reply from: [Foxskav](https://wordpress.org/support/users/foxskav/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/force-to-load-all-elements/#post-11076700)
 * Status: resolved