javascript - AJAX request in jQuery get function, variable issues -


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);}

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 . password and remove quotation marks around emails

. < / P>
  {option: "signup", email: email, find Word Password}    

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -