PDA

View Full Version : Adding a row and form items to a table without refreshing the page


nitric
11-18-2002, 10:33 AM
Hi there

Could someone please tell me how to add a row and form items to a table without refreshing the page. The user needs to be able to add and delete table rows wherever they need to.

Thanks,

nitric:confused:

beetle
11-18-2002, 07:00 PM
How do you want them to be able to remove add? buttons? other form elements? What are the requirements? Restrictions? Be a bit more specific. This CAN be done...but examples could vary widely from what you really need.

RadarBob
11-18-2002, 08:06 PM
The Document Object Model (DOM) is the way to dynamically add/delete rows without "refreshing" the page.

As far as I know, to do this w/ good ol' DHTML the page must be "refreshed" from the server.

Attached is a page I wrote. Change the file extension to ".htm" or "html" and it will run on it's own. Caveat: Tested only on IE 5.5 for Windoze.

nitric
11-19-2002, 08:00 AM
Hi guys

Thanks for the assistance... I'm sure I can make it work from here!

:)