I highly recommend that you take a look at jQuery.load: http://api.jquery.com/load/. What you're trying to do isn't as complicated as the code you've written.
I'm not going to guarantee exact syntax here, but here's a simplification of the Javascript code you have above re-written using jQuery and jQuery load:
function showDiv(a) {
var temp = a.split('~'),
divno;
for(i = 0; i < temp.length; i += 1) {
divno = i + 1;
jQuery('#loadArea' + divno.toString()).load('http://zocreative.com/load.php?f=' + temp[i]);
}
The key here is that you're asking jQuery to load the URL into the specified div without having to track the asynchronous response yourself. There are several options to the jQuery.load method that will allow you to respond to completion, so read the docs.