Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

Using JavaScript to Add Rows to a Table  RSS feed

Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the JavaScript to keep adding rows to a table.

I have come up with a draft and it works (see below). However, I cannot figure out some details:

1. How do I create an empty cell which is equivalent to <td><br/></td>

I am uncertain what I use is correct:

2. How do I set my text field with relative measurement "em"?
Temporarily, I use the fixed measurement. But, it is not what I want
to do.

3. How do I put an image right next to my text field? I would like to do
something that is equivalent to the HTML code:

Here I post my draft code:

[ April 02, 2007: Message edited by: JiaPei Jen ]
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
Create Edit Print & Convert PDF Using Free API with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!