I think I can condense this some...
I have been firing in alerts by way of a test to see where IE is falling short, and it never actually gets into the method to update the fields.
The call to the function (Person_callback()) is made from the following bit of code.
Code:
function goFindPerson (obj){ // [l] AJAJ person lookup
if (typeof obj=="string") obj = $(obj); //
if ((obj.id == "witness1id")){
spid = ($("witness1id").value);
pLookDest = "w_1_";
} else if (obj.id == "witness2id"){
spid = ($("witness2id").value);
pLookDest = "w_2_";
} else {
spid = ($("selectPID").value);
pLookDest = "";
}
req.onreadystatechange = Person_callback; // Set callback function
alert("TEST"+req);
req.open("GET", "personlookup.php?id="+spid, true); // Do a tainted SQL call
req.send(""); // Run the thread
}
Now I have followed this code through, and IE is getting to the end of it, so I can only assume one of two things, the first is I am in totally the wrong place and need to retrace my steps, and the other is that for some reason req.onreadystatechange = Person_callback; isn't doing anything the second time around - is there anyway I can confirm this? or is there any work arounds?