Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Writing a text string in a table

New Here ,
Nov 17, 2006 Nov 17, 2006
Right now the current piece of script is
document.body.insertBefore(oAddLink, document.StockForm);
and that writes the text string inside the form. Well I need to write it inside a table but the table doesn't have a name so how could I do that?
TOPICS
Server side applications
281
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 17, 2006 Nov 17, 2006
name the table.
"TGuthrie" <webforumsuser@macromedia.com> wrote in message
news:ejkfpo$3np$1@forums.macromedia.com...
> Right now the current piece of script is
> document.body.insertBefore(oAddLink, document.StockForm);
> and that writes the text string inside the form. Well I need to write it
> inside a table but the table doesn't have a name so how could I do that?
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 18, 2006 Nov 18, 2006
LATEST
TGuthrie wrote:

> Right now the current piece of script is
> document.body.insertBefore(oAddLink, document.StockForm);
> and that writes the text string inside the form. Well I need to write it
> inside a table but the table doesn't have a name so how could I do that?
>
I would give the <td> in which you want to place the link an id

document.getElementById("yourID").innerHTML=oAddLink;

Mick
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines