Team:BU Wellesley Software

From 2011.igem.org

(Difference between revisions)
Line 7: Line 7:
function reloadDocument()
function reloadDocument()
{
{
 +
  console.log("begin code");
   document.close();
   document.close();
 +
  console.log("document closed");
   document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN''http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en' dir='ltr'><head><title>Title Testing</head><body><p>Paragraph testing</body></html>");  
   document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN''http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en' dir='ltr'><head><title>Title Testing</head><body><p>Paragraph testing</body></html>");  
 +
  console.log("document written");
}
}

Revision as of 15:40, 8 August 2011