On Aug 30, 2:06 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> This works fine for me:
>
> $("<div></div>").appendTo("#main").text("appendTo").addClass("cool");
>
> as does:
>
> $('<div>' + 'insertAfter' + '</div>').insertAfter("#main").addClass('cool');
>
> See here for a full page example with both:
>
> http://paste.pocoo.org/show/83938/
>
> - Richard
>
> Richard D. Worthhttp://rdworth.org/

Richard, thanks for that example.  That clarifies.  Karl, also thanks
for your code.  That worked perfectly.

Steve

Reply via email to