Title: JavaScript filtering with multiple instances
Last modified: June 28, 2017

---

# JavaScript filtering with multiple instances

 *  Resolved [Jakub Machala](https://wordpress.org/support/users/machi/)
 * (@machi)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-filtering-with-multiple-instances/)
 * Hello,
 * we are using AJAX Load More JavaScript filtering on our site ([https://connekthq.com/plugins/ajax-load-more/examples/filtering/](https://connekthq.com/plugins/ajax-load-more/examples/filtering/)).
   However we have multiple queries on one page and filtering should be associated
   just to the one of them.
 * See this page [http://lenkazelenohorska.webees.site/kurzy/](http://lenkazelenohorska.webees.site/kurzy/).
   There is a filter on the top for the first query. Another two queries are below(
   Služby and Názory). Please try to select a filter item on the top and see what
   happens.
 * Is it somehow possible to associate filtering to only one of page’s queries?
 * Thanks a lot, Jakub

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-filtering-with-multiple-instances/#post-9269428)
 * Hi [@machi](https://wordpress.org/support/users/machi/),
    Yea, give the instance
   of ALM an ID and then pass the ID to the filter as you see in this multiple filtering
   example. [https://connekthq.com/plugins/ajax-load-more/examples/filtering/multiple-filters/](https://connekthq.com/plugins/ajax-load-more/examples/filtering/multiple-filters/)
 * Hope that helps.
    Cheers,

Viewing 1 replies (of 1 total)

The topic ‘JavaScript filtering with multiple instances’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-filtering-with-multiple-instances/#post-9269428)
 * Status: resolved