If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Automatically Add Row to table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-03, 00:56
RascalBird RascalBird is offline
Registered User
 
Join Date: Mar 2003
Posts: 8
Angry Automatically Add Row to table

Hi all

I am trying desperately to set up a button in my asp page which will automatically add a row to a table within a form.

Granted, that in itself is not hard, I have been able to set it up so it will insert two blank cells but the problem is this... one of the cells needs to contain a dynamic menu with options from a database table and then when the user presses "SUBMIT" each of their selections from each of the rows needs to be passed to the appropriate table in the database.

ANY suggestions would be greatly appreciated
Reply With Quote
  #2 (permalink)  
Old 04-06-03, 03:43
kaeldowdy kaeldowdy is offline
Member
 
Join Date: Apr 2003
Location: Evansville, Indiana
Posts: 75
Lightbulb

This is an interesting topic. I've never needed to do this myself, but I can see how it can be useful to need to do.

I found a site which explains in explicit detail how to expose the DOM through JavaScript, and there's some promising info on dynamically adding rows to a table.

http://www.mozilla.org/docs/dom/technote/tn-dom-table/

Let us know how it turns out!

Kael
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On