• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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 ]
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!