|
-
April 2nd, 2007, 10:31 AM
#6
Re: Sending Large Data
Hey PeejAvery, sorry forgot about that I hope this is fine?? If not let me know?? Thank you
[code]
var url = "getdata.asp"
document.getElementById("ExampleOutput").value=XML.ToString().replace(/</g,"\n<");
//ExampleOutput contains xmlstring
var ExampleOutput = document.getElementById("ExampleOutput").value;
var parameters = "ExampleOutput=" + ExampleOutput;
http.open("POST", url, false);
http.setRequestHeader("Content-type", "text/xml");
http.setRequestHeader("Content-length", parameters.length);
http.setRequestHeader("Connection", "close");
http.onreadystatechange = handleHttpResponse;
http.send( parameters);
[code]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|