If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Validate markup of dynamically generated content

I have tried every browser plugin that I could find. I am trying to validate an application. It uses ajax. There are many holder divs that are set with innerHTML. All attempts I have tried only validate the original markup and not the generated content. I purposely put invalid content into the divs dynamically and try to validate and it still validates. How can I validate the dynamic content? I can see that in chrome or with firebug that the content is viewable element by element. Is there a plugin that can look at the generated content and validate it?

A potentially long winded way, depending on how many variations there are to your dynamic content, is to

1) open your web page in a browser and then view its source.

2) save the source in a html file

3) upload the source to the w3c validator and validate it.

That would be fine if I could view the dynamic content. Viewing the source shows only the original static content. I found a chrome plugin that will allow me to show generated content. It closes unclosed tags before it displays so this will not help.