2019-07-16 00:04 BST

View Revisions: Issue #2538

Summary 0002538: dukky_document_write: error; no parser for htmlc
Revision 2017-06-09 20: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>
Revision 2017-05-09 08: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>