I am using AJAX in my dynamic website. Instead of reloading a whole page, I used AJAX to request PHP file, and change the content of the page.
Is it OK to take away doctype and tags from those PHP files that requested by AJAX? Will I get any errors in future, if I leave doctype and tags from PHP...
Thank.