text: $(".modal-modal").click(function(e) {
  
    var link_url = document.URL;
    var parsing = link_url.split('/');
    var parsing_protocol = parsing[0];
    var parsing_mainurl = parsing[2];
    //var parsing_language = parsing[3];
  
    /*
    var link_uri = window.location.pathname;
    var parsing2 = link_uri.split('/');
    var parsing_cpanel = parsing2[2];
    var parsing_menu = parsing2[3];
  
    const queryString = window.location.search;
    const urlParams = new URLSearchParams(queryString);
    */
  
    var new_url_complete = parsing_protocol+'//'+parsing_mainurl+'/backend/modal';
    var m = $(this).attr("value");
  
    var showloadingdata = document.getElementById("showloadingdata");
    var containerajaxpilihmessage_x = document.getElementById("containerajaxpilihmessage");
  
    containerajaxpilihmessage_x.style.display = "none";
    showloadingdata.style.display = "block";
  
    $.ajax({
        headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')},
        url: new_url_complete,
        type: "POST",
        data : {id:m, fullurl_x:link_url},
        success: function (ajaxData) {
          containerajaxpilihmessage_x.style.display = "block";
          showloadingdata.style.display = "none";
          $("#containerajaxpilihmessage").html(ajaxData);
          //$("#xcontainer").html(ajaxData);
          //$("#xcontainer").modal('show',{backdrop: 'true'});
        }
    });
  
  });
  