0

I am just wondering in jquery .ajax has builtin variables like $_POST in php. In the code below how is variables like data, request etc comes from

 $.ajax({
    type: "POST",
    url: "bin/process.php",
    data: data,
    success: function(request) {
      //display message back to user here
    }
  });
1
  • 1
    Please be more specific about. can't get you. Commented Mar 26, 2012 at 15:25

1 Answer 1

1

data is your variable within the request scope. request is the output of bin/process.php.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.