• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.