Specify function to be called in jquery
<p>I have come across this snippet in the jquery post documentation and i am not sure what it does</p>

<pre><code>$.post("test.php", { "func": "getNameAndTime" },
 function(data){
   console.log(data.name); // John
   console.log(data.time); //  2pm
 }, "json");
</code></pre>

<p>My thinking is that test.php has a function getNameAndTime(),is this the meaning of it?.If so is this some kind of javascript pattern?.</p>
