JSFiddle - React, Tailwind, and code Playground

by boushley

HTML

<a href="#" id="clicker">Click Me</a>

JavaScript

$('#clicker').click(function () { callAjax(); });

function callAjax()
{
  testCount = 1;
  $.ajax({
    url: "http://http://jsfiddle.net/asdfjasdfiojasdf/asdfasdfjoiasdfasdf",
    success: function( msg ) {
      alert( testCount++ );    
    }
  });
}