2024-11-24 19:37 UTC

View Revisions: Issue #2538

Summary 0002538: dukky_document_write: error; no parser for htmlc
Revision 2017-05-09 07:09 by lionwes
Additional Information
<html>
<script type="text/javascript">
 
  function RepeatWrite(){
   
    var newContent = "<html><head><title>A New Doc</title></head>"
    newContent += "<body bgcolor='aqua'><h1>This document is brand new.</h1>"
    newContent += "Click the Back button to see original document."
    newContent += "</body></html>"

    document.write(newContent);
    document.close();

  }
    
</script>
</head>
<body>
  <form>
  
    <input type="button" value="Replace Content" onClick="RepeatWrite()">
  </form>
</body>
</html>
Revision 2017-06-09 19:42 by Vincent Sanders
Additional Information <html>
<script type="text/javascript">
 
  function RepeatWrite(){
   
    var newContent = "<html><head><title>A New Doc</title></head>"
    newContent += "<body bgcolor='aqua'><h1>This document is brand new.</h1>"
    newContent += "Click the Back button to see original document."
    newContent += "</body></html>"

    document.write(newContent);
    document.close();

  }
    
</script>
</head>
<body>
  <form>
  
    <input type="button" value="Replace Content" onClick="RepeatWrite()">
  </form>
</body>
</html>