Ajax load template section

Hello friends,
It would be cool if you could load a template via AJAX by clicking a button. At the same time, it would be nice if you could pass a parameter to the query loop in the template via the button. Or is there already a “simple” way to do this? I have tried to illustrate my idea in the following sketch.

I second this - I either want to know how to do this via code or how to do it with the tools available to us in Bricks. I NEED this.