Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ajax not working in breezing forms component of joomla [closed]

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....

like image 817
KiNG H Avatar asked Jan 22 '26 10:01

KiNG H


1 Answers

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

like image 125
KiNG H Avatar answered Jan 27 '26 00:01

KiNG H



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!