English
<!-- Add the following code to the <body> area--> <input type="button" value="Dynamic Add" onclick="document.body.innerHTML+='<input>'"> <input type= "button" value="See after adding" onclick="alert(document.body.innerHTML)"> <input type="button" value="After saving changes" onclick="saves()"> <script> function saves (){ winSave=window.open('','','top=1000'); winSave.document.open ("text/html","gb2312"); winSave.document.write (document.body.innerHTML ); winSave.document.close (); winSave.document.execCommand ('saveas','',''); winSave.close(); } </script>