|
Hi,
I'm using a Form and an IFrame that is used by the client to submit a Post request to a web server. The target of the Form is the IFrame name. The IFrame has an "onload" event handler which I use to retrieve the response from the server. The response is pure text (no HTML) and consists of a string that is formatted based on a protocol. My question is: How do I get access to the reponse string from within my "onload" event handler? I tried using the following but don't get anything:
var resp = document.getElementById("frameID").innerHTML;
How do I solve this problem? Any help would be greatly appreciated! Thanks!
|