I'm thinking this is not possible but I would like some insight as to why. I want to do something like this:
var pVals = {
ob1: "postvar1",
ob2: "postvar2",
ob3: "postvar2"
};
$.post("php/dosomething.php",{pVals.ob1:"object 1", pVals.ob2:"object 2", pVals.ob3:"object 3"});
I get an error along the lines of:
missing : after property id
Thanks for the help.