I have a View block. I can print the content with
views_embed_view function, passing $display_id, contextual filter, etc.
This should be possible to accomplish using Ajax (
div_id.innerHTML ), but my limited experience with Ajax is to retrieve a JSON formated data, not a full HTML block of a View.
How could I get it working? Is it possible at all?