javascript - AJAX request in jQuery get function, variable issues -
I'm struggling with a jQuery Ajax call. Please help! That's why I'm sending two variables for server, email and password, but I'm sending signup options in text. How do I send jQuery variables? The text is working, but the email and password are not variable . var email = patrick@patrick.com; Var password = patrick; $ .get ("server.php", {option: "signup", email: "email", password: "password}", function (req) {alter (req);} password and remove quotation marks around emails . < / P>
{option: "signup", email: email, find Word Password}
Comments
Post a Comment