JSFiddle - React, Tailwind, and code Playground

by jgoemat

JavaScript

function checkUni() {
    var URL = "http://localhost:8080/GradSchoolApp/test.jsp";

    var ret = $.ajax(
        {
            url: URL,
            success: function(data, textStatus) {
                alert('success!');
            },
            error: function(jqXHR, textStatus, errorThrown) {
                alert('Error "' + textStatus + '": ' + errorThrown);
            }
        });
}

checkUni();