Validating forms

Here’s something I feel I should know the answer to but don’t. When you validate a URI, does it also check any javascript forms that are triggered from that page? I’m thinking not, because the forms don’t appear in a view source (except as CDATA) and there’s nothing different in the URI. But if it doesn’t, how do you validate these types of javascript forms? Is Firebug’s Validate Local HTML the best way or is there something more definitive?

The html validator is only concerned with the source code of the page. If you are injecting html into the page with javascript then the validator will know nothing about it. The html validator is not concerned with javascript.

If you have the web developer extension in Firefox you can view “generated” source and paste that into the validator to check the code is valid.

Thanks, Paul.