AJAX function to POST 4 variables

Posted by kirgy on Stack Overflow See other posts from Stack Overflow or by kirgy
Published on 2010-04-29T17:21:24Z Indexed on 2010/04/29 17:27 UTC
Read the original article Hit count: 377

Filed under:
|
|
|
|

Ive been having great frustration for hours now trying to remember my AJAX!

Im trying to write a function which will be called that will simply POST 4 variables to a given URL, written in javascript and not jquery such as:

function postVariables(URL, var1, var2, var3, var4)
{
  ......
  return true;
}

Can anyone help?

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about JavaScript