How to convert Document.write to Jquery function

I have tried to convert document.write into jquery latest function but not working

here is code document.write(html.join(""));

when i convert this javascript line into jquery like this $(body).append(html.join(""));

then chrome dev tools give an error

Uncaught ReferenceError: $ is not defined

Please Help me

61 thoughts on “How to convert Document.write to Jquery function”

Leave a Comment