Вопрос

function ff_chk_username_unique(element, action)
{
alert(element.value);
alert(action);
var actiona="http://localhost/myproject/check/check_username.php";
var form_data = {
            username: element.value,
        };
alert(actiona);

    $.ajax({
            type: "GET",
            url: actiona,
            data: form_data,
                        success: function(response)
            {
                           alert(response)

            }
        });

} // ff_chk_username_unique

code of my ajax file...

file is not called within ajax,

is ajax defined properly?? please help me solve it....

Это было полезно?

Решение

it's working in breezingforms but you need to add jquery file when you use ajax...

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top