Javascript arguments
<p>I'm on my way to learning more about javascript and it could get really confusing at most times. </p>

<p>So we have this in jQuery:</p>

<pre><code>$.getJSON('getDate.php', function(response, status, xhr) { ... });
</code></pre>

<p>And this:</p>

<pre><code>$('a').click(function(event) { ... });
</code></pre>

<p>Based on the code above and in terms of javascript definitions, please consider these arguments(<code>response, status, xhr</code> &amp; <code>event</code>) and the questions about them as listed below:</p>

<ul>
<li>What are they exactly?</li>
<li>Where do they come from?</li>
<li>When do you actually use them?</li>
<li>What's the proper way of using them?</li>
</ul>

<p>I'm a newbie programmer and I'm not sure if I asked the right questions.</p>

<p>Thanks.</p>
