$.post("test.php", { name: "John", time: "2pm" },
function(data){
alert("Data Loaded: " + data);
});
The object { name: "John", time: "2pm" }
is anonymous. Normally, I would access the properties of an object using syntax similar to the following:
objectname.propertyname
But what can I do when there is no objectname
? How can I access propertyname
?