On Nov 2, 2007, at 5:42 PM, Mike Alsup wrote:
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>
Hey Mike,
That's a dandy image you put in there. ;-)
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com