Ignore my post. I'm being silly, there was a mistake at the last line
I was appending to a new table....

Thanks for that.

On 1 oct, 10:56, BB <[EMAIL PROTECTED]> wrote:
> You can do that with $( html )!
>
> var $table = $("<table><tr id='1'></tr></table>").append("<tr id='2'></
> tr>");
>
> now you can do other things with the "virtuall" <table>
>
> $table.find("tr#2").append("<td>Hello World</td>");
>
> On 1 Okt., 11:46, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
>
> > What is the equivalent of document.createElement  in jQuery ?  I know
> > there is $(html) but this only set the innerHtml property of another
> > element.
>
> > I need to create a new TABLE markup and be able to interact with this
> > new element by adding more TR to it.
>
> > Thanks

Reply via email to