Run again current query via ajax but changing a var
I have custom query which is $query. The input is based on form input. The query has already run on a page, but after that I’d like to run it again without a page reload, so with AJAX (when the users selects a tab (Bootstrap)).