I am not familiar with AJAX.
Does document.write() broadly used in AJAX technique?
Is there any relationship between them?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
document.write()and AJAX are really antithetical. AJAX is typically used to update some DOM element(s) based on he results of an synchronous call, whereasdocument.write()if used after the page have been loaded, will actually clear the content of the entire document, replacing it with whatever value is passed to the function.