JSFiddle - React, Tailwind, and code Playground

by Johan Muller

HTML

<div id="result">тут будет цитата</div>
<a id="getdata" href="#">Посмотреть</a>

JavaScript

$('#getdata').click(function(){
$.ajax({
  url: '/echo/json/',
  type: 'POST',
  data: $('#result').text(),
  success: function(response) { $('#result').text(response) },
  dataType: 'html'
});
});