Welcome Guest, Not a member yet? Register   Sign In
AJAX request path
#11

[eluser]ptvw2011[/eluser]
I changed the code above to

Code:
new Ajax.Request(base_url + "ajax/deactivate/",
        {
            method: 'GET',
            parameters: {confirm: x}, //where is x is the value of my form element by doing
                                                  // var x = document.GetElementById('mycheckbox').value;
            onComplete: showResponse
        });

it now works.

Thanks for all your help.




Theme © iAndrew 2016 - Forum software by © MyBB