> That would result in adding the following code to the body: > > <div align="right" class="my_div"> > http://alterform.com Alterform > </div>
I think DOM tools are great for working with nasty things like tables, but jQuery handles simple insertions quite well on its own. Your example could be written more succinctly like this: $('body').append('<div align="right" class="my_div"><a href="http://jquery.com">jQuery</a></div>'); _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/