I have a script that runs inside the body. How can I create this directly after production myself? Similar to echo in PPP.
For example.
You are looking for document.write , like It:
document.write ($ ('# text') .HTML ());
Edit : document.write will work only when the page is loading (Unlike an event handler or timer ).
To add content later, use jQuery:
$ ('#otherotherdiv'). Attachment ($ ('# text') .HTML ());
Comments
Post a Comment