v0.9.15g - NameCheck

This commit is contained in:
2020-08-17 09:21:47 +02:00
parent fce970de65
commit ea623a72ca
7 changed files with 140 additions and 6 deletions
@@ -81,6 +81,8 @@
);
});
//Dont delete me, if the user reloads the pages with text in the text-box this code runs.
$(document).ready(function () {
$value = $('#title').val();
$.ajax({
@@ -88,7 +90,6 @@
url: '{{route('guides.nameCheck')}}',
data: {'nameCheck':$value},
success:function (data) {
console.log(data);
if(data){
$("#error").show(100);
$("#error").css('color', 'red');