[xyz-ips snippet=”BQ-DB”]
<script>
// Make an AJAX request to retrieve the JSON data from your PHP script
$.ajax({
url: 'your-php-script-url.php',
dataType: 'json',
success: function(data) {
// Loop through the JSON data and create HTML elements to display it
$.each(data, function(index, item) {
var html = '<div>';
html += '<p>' + item.column1 + '</p>';
html += '<p>' + item.column2 + '</p>';
html += '</div>';
$('.your-elementor-widget-class').append(html);
});
}
});
</script>