meppum, That is built into the core of jQuery. For example, to create a new <p> element and append it to an existing div with an id of "mydiv":
$('<p>New paragraph</p>').appendTo('#mydiv');
or
$("#mydiv").append('<p>New paragraph</p>');
HTH,
Carl
meppum wrote:
> What is the equivalent jquery code to document.createElement? I looked
> all over but couldn't find an example.
>
> -meppum
>
>
>

