You could make a synchronous ajax call instead, but it will lock the
browser until a response is received:
something roughly along these lines:
$.ajax({
type: "GET",
url: "validate.php",
data: {value: somevalue}
async: false,
dataType: somedatatype,
success: function(data){...}
});
or maybe try
Oh, and I meant, with an asynchronous request.
Sorry,
On 13 déc, 09:52, Rémi Prévost <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got the following code:
>
>function validateServer(value) {
> var valid;
> $.get("validate.php", { "value" : value }, function(data) {
>valid =
2 matches
Mail list logo