I’m struggling with a jQuery Ajax call. Please help!
var email = patrick@patrick.com;
var password = patrick;
$.get("server.php", {option:"signup", email:"email", password:"password}, function(req){
alter (req);}
So I’m sending two variables to the server, email and password. But I’m sending the signup option in text. How do I send the jQuery variables? The text seems to be working but not the email and password variables. Thanks so much!
Remove the quotes around
passwordandemail.