Sending data to another page
Hey Guys I am trying to send data to another page using ajax, using the POST method.
Is using the the shorthand method $.post() the same as using $.ajax() based on what I an trying to accomplish???
Sending data to another page using $.ajax()
- $.ajax({
type: "POST",
url:"index.php",
data:"test=test"
});
Sending data to another page using $.post()
- $.post("index.php","test=test");