JSFiddle - React, Tailwind, and code Playground
JavaScript
window.onload=function(){
$.ajax({
type: "POST",
url: "names.php",
data: ({'email':$('#auth').val()}),
dataType: "text",
success: function(msg){
if(msg)
alert(typeof(msg));
}
});
};
window.onload=function(){
$.ajax({
type: "POST",
url: "names.php",
data: ({'email':$('#auth').val()}),
dataType: "text",
success: function(msg){
if(msg)
alert(typeof(msg));
}
});
};