Writing the dom content to a new html file

Hi,

I would like to write the content of the dom to a file or string. For example:

input html:

<html>
<body>
Name:
<input id='name'/>
</body>
</html>

When viewing this html in IE, type 'test' in the inputbox. Now i would like to generate html like this:

<html>
<body>
Name:
<input id='name' value='test'/>
</body>
</html>

I hope the problem is clear.

Thanks, Perry



Answer this question

Writing the dom content to a new html file

  • MCP_SS

    I haven't the slightest idea of what you're asking.

    Are you wanting to have the user input information into an input field and then reload the page with said input dynamically inserted into the response


  • Writing the dom content to a new html file