| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Retrieving HTML output source before sent to client |
From: |
david cronk |
Date: |
8/29/2000 5:13:39 PM |
IP: |
209.167.76.150 |
I want to read, or store the HTML Source that is sent to a client before it goes to the client or with JavaScript when the User presses a button. I know you are thinking this is a JavaScript question, however, if I could retrieve the HTML Source before it gets to the User, then that would be fine. I have Response.buffer=true which means the Server machine processes all the code before it sends the Output to the User.
I want to retrieve that and store it into a variable which I can then send to a function, store procedure, DLL, etc etc.
Presently with IE, I have figured out a way that uses the JavaScript property "outerHTML", which I store in a hidden field.
Example
document.form1.hiddenbox1.value = document.all.body.outerHTML
however, the command outerHtml does not work in Netscape, as well as the document.all.body. I would like to be able to store the HTML source in a variable before it gets to a user.
If anyone knows please respond |
Follow Up - Re: Retrieving HTML output source before sent to client - Chris S 8/31/2000 1:56:24 AM
|
|

|
|
|
|