JSFiddle - React, Tailwind, and code Playground

HTML

<a class="top_block_link" id="selectable1">Lorem Ispium</a>

<div class=".panelContainer"></div>

<div id="movers-row"></div>

JavaScript

$(function() {  
      $(".top_block_link").on("click",function(){  
        var anchorId = $(this).attr("id");
          alert('hi');
                $.ajax({
                    url:"selectable.php?q="+ anchorId,
                    success:
                    function(result){
                    $(".panelContainer").empty();
                    result = result.split('||');
                    $(".panelContainer").html(result[0]);
                    $("#movers-row").empty();
                    $("#movers-row").html(result[1]);
                 },
                    error:
                    function(xhr,status, strErr){
                        $("#panelContainer").html("connecting error happened");
                    }
                });
                  
            });
          });