How to use Drupal 8 ajax API for Menu links

by user30360   Last Updated January 08, 2018 13:07 PM

I have a taxonomy menu on the left side of the screen. When I select a menu item I want the results to appear in the main content area of the screen.

I want this to happen using AJAX. I have been reading the AJAX API documentation from Drupal:

It says I can add a "use-ajax" class to the link, which I have. But then there is no documentation regarding how to get the link to load in a target ID.

Tags : ajax

Related Questions

Decoding cyrillic %get[] parameter in Ajax form

Updated June 11, 2015 08:03 AM

How to reload Google chart on ajax submit?

Updated August 12, 2015 17:03 PM

grab and reuse AJAX request parameters in a view

Updated July 17, 2015 13:03 PM