javascript:document.write(document.body.innerHTML)
in the address bar. I did this because "view page source" only shows
the template and not the stuff that is written by AJAX. I then composed
an html app with the stuff before the template from "view page source",
but replaced the body content with what I got above.
The result was that where I had align="center" on a <td>, for example,
it changed it to align=middle. It did this stripping of parentheses on
almost all the attributes and on the onclicks. Where I had value="blah"
it left the parentheses alone.
Naturally, this app didn't validate.
Here is the stuff before the body:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Application</title>
<link rel=StyleSheet href="css/style.css"
title="Contemporary" type="text/css">
</head>
Why is the document.write doing that?
Is this a true representation of what IE sees, or is it an artifact of
the document.write call?
Where is it getting the middle in align=middle from?