|
DOCTYPE and scripted insertions?
I have been using xhtml strict doctype and have used my programming text editor
to test output from php (server side) scripts by copying resulting markup from a view
source browser window to a temp file and using the text editors doctype checking capacity.
But, when javascript is used to add content after the page loads, the markup
is not visible in a view source window.
So, how would I determine if a browser is not switch to quirks mode because
the added , or remove content is not compliant.
I recently have been advised the IE 9 runs javascript differently in quirks mode
that in standards mode... specifically has both set/removeEventListener and
attach/detachEvent.
Thank you for time and attention
JK
|