Answer the question
In order to leave comments, you need to log in
I want to do ajax check for registration. Are there scripts available?
To check whether there is already such a login, for example, and so on.
Answer the question
In order to leave comments, you need to log in
if you have cms for sure there is a plugin ready, if you write it yourself, then most likely you will have to write it yourself, specifically how to check for a login, then you fill in the login field on onchange weighs the function that ajax sends the login to the server the server in the database checks for a duplicate or not and sends a response , there is already one or everything is fine
There are several lines of code, why do you need a ready-made script? Especially if you write from scratch.
$.ajax
({
url: "server.php",
data: {func: "AuthUser", login:$("#auth_login").val(), password:$("#auth_password").val()},
success: function( data )
{
// проверка
var obj = jQuery.parseJSON( data );
}
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question