I'm assigning the XMLHttpRequest.responseText value to a simple text field. When I try to retrieve this very field, the info
is undefined. I can see it populated on the screen in the text field, but I cannot retrieve it.
If I call an alert() on the field, it's undefined. If I call alert() a second time, the value appears.
Does AJAX have some sort of lag that prevents or hinders the user from retrieving the XMLHttpRequest.responseText data? Do I need to do something more
than ensure the state and status of the AJAX object are successful?