Elegant javascipt - making function fire when 3 different AJAX requests have happened
<p>I have three different AJAX queries that I want to hit various services. When they've all come back (or timed out) I'd like them to call a function. </p>

<p>I can imagine lots of ways of doing this, like having an intermediate function count when all the requests have come in, but is there a beautiful solution? </p>
