How are you going to write HTML to the jQuery function's calling position?
I have an HTML page containing the following jQuery / JS code:
... HTML contents ... <script> functionName(); </script> ... More HTML Contents...
How can I get a functionName
to add / write new content where it is called, and not to select another identifier in the document and then add it.
JavaScript document.write
can do this, however, I read that it twists jQuery's ability to work with the DOM later.
source share