> Karl, > > Thanks for the help, but it didn't seem to work. Any other > suggestions? > > Josh
It sure works for me.... <html><head> <script type="text/javascript" src="jquery-1.2.1.js"></script> <script type="text/javascript"> var my_var = "<div>This text is appended!</div>"; $(function() { $('body').append(my_var); }); </script> </head> <body> <img src="http://jquery.com/images/book-learning.png"/> </body> </html>