Posted by Dikkie Dik on 02/21/07 19:03
> Hello, I am interested in your solution. Can you tell me more abt
> this?
From my (test) site, I open a new window with JavaScript code. This
window has a simple form that allows the user to enter a remark. This
form also has a hidden field "ctlSnapshot".
Before submitting the form, I run the following script:
var strContent = window.opener.document.documentElement.innerHTML;
document.getElementById('ctlSnapshot').value = strContent;
That's it. The HTML of the current page of the test site is submitted
and stored along with the comment.
Best regards.
Navigation:
[Reply to this message]
|