How to add tables in HTML page dynamically?

Reply

Join Date: Nov 2006
Posts: 1
Reputation: girishkgk is an unknown quantity at this point 
Solved Threads: 0
girishkgk girishkgk is offline Offline
Newbie Poster

How to add tables in HTML page dynamically?

 
0
  #1
Jan 5th, 2007
Hi all,

I am Girish, ia m very new to Java. I want to create a html page.
The main requirment in the page is ...

Initialy the page will contains a table which will accepts some data.
If the user want to enter some more information he can click one add button such that a new table will be created. If he wants to delete created table he can select delete button such that the table will be deleted in the same HTML page.

Please give me a solution.. how to achieve this requirment.

Waiting for reply..

Thanks in advance...

Regards,
Girish.K
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 2
Reputation: prajakta.mule is an unknown quantity at this point 
Solved Threads: 0
prajakta.mule prajakta.mule is offline Offline
Newbie Poster

Re: How to add tables in HTML page dynamically?

 
0
  #2
Jan 5th, 2007
Originally Posted by girishkgk View Post
Hi all,

I am Girish, ia m very new to Java. I want to create a html page.
The main requirment in the page is ...

Initialy the page will contains a table which will accepts some data.
If the user want to enter some more information he can click one add button such that a new table will be created. If he wants to delete created table he can select delete button such that the table will be deleted in the same HTML page.

Please give me a solution.. how to achieve this requirment.

Waiting for reply..

Thanks in advance...

Regards,
Girish.K
if u wana create table with specific rows and cols the you can write the tags for the same....and then apply the visibility condition for its add and delete....

but if the rows & cols in the table r not decided then u can ask 4 the nos of rows --- & cols---
& then run loops for printing tr n td accordingly.
outer loop 4 tr n inner for td.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC