Does anyone know the jQuery equivalent for window.document.write('') in javascript?
Thanks
Does anyone know the jQuery equivalent for window.document.write(”) in javascript? Thanks
Share
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.
This will add the string “hello” right before the body closing tag. Not exactly the behavior of
write, but you can do this to any element to get the content to appear where you want it.Also available are
prepend(content)andreplaceWith(content)for all your insertion needs!