aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Creating New Row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Creating New Row" Watch "Creating New Row" New topic
Author

Creating New Row

Anita Karnati
Greenhorn

Joined: Dec 26, 2000
Posts: 6
Hi guys,
I have one screen that has table of 3 rows and 3 columns.
I have a button called "Add", i need to create a new row with 3 columns when i click on ADD button.Could any body send me the code, becaus i am little poor in JavaScript.
Thanks
------------------
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
The only way of doing this is with DHTML. With HTML, once the page is loaded, it becomes difficult to change the appearance of the page, like adding more rows to a table or adding more form fields or moving an image from this side of the screen to this side of the screen. The only way to do this type of stuff is with layers and dhtml.
I would either recommend finding another solution like saying having your add button go back to the server and reload the page with another row, or start doing some heavy research at www.dhtml.com for some code that will let you do what you want. It would take me at least a day or two to get some code that does that and have it working on both Netscape and IE and in Windows and Macs.
Good luck though
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating New Row