Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] need guidance to transfer info from one table to another
- From: decren at yahoo.com (DeWayne Crenshaw)
- Subject: [Javascript] need guidance to transfer info from one table to another
- Date: Tue Apr 10 02:44:02 2007
Thank you for your quick "and working" response. I'd
been at this problem for about a week and couldn't see
the forest...etc. Anyway, your solution solved the
problem.
--- Nick Fitzsimons <nick@xxxxxxxxxxxxxx> wrote:
> A text input doesn't have any innerHTML: it's an
> empty element. The
> text typed in is held in its value property, and
> need to be converted
> into a text node to append to the cell. So:
>
> var value =
> document.getElementById("textBox").value;
> var cell1 = row.insertCell(1);
> cell1.appendChild(document.createTextNode(value));
>
> should do what you want.
>
> HTH,
>
> Nick.
> --
> Nick Fitzsimons
> http://www.nickfitz.co.uk/
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
- References:
- [Javascript] need guidance to transfer info from one table to another
- From: Nick Fitzsimons
- [Javascript] need guidance to transfer info from one table to another
- Prev by Date: [Javascript] using CSS [WAS: Printing a Form]
- Next by Date: [Javascript] mailing list delay
- Previous by thread: [Javascript] need guidance to transfer info from one table to another
- Next by thread: [Javascript] mailing list delay
- Index(es):