• 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 ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!