Hello again everybody,
Grant asked me to say what my goal is soooo here it goes (actually, I
thought I had posted it a short while ago but it does not look like my
new info made it out to the network).
Basically, I have a table on the HTML page that one can add rows to
dynamically. After rows are added, I want to save the contents of the
table to the server and eventually to be saved to a database. I have
found that by using the statements below, I am able to get the data out
of the cell:
myrow=mytablebody.getElementsByTagName("tr").item( row);
mycel=myrow.getElementsByTagName("td").item(column );
data=mycel.childNodes.item(0).data;
Now I just need to send it to the server. I was doing further search on
the net and saw that hidden fields can be used - but - how does one add
hidden fields (dynamically) to a form? Also, in addition to the "hidden
fields" solution, there is a one that uses a "query string" - at least
that is what they say on this page here:
http://forums.devshed.com/archive/t-16003
Which approach is better - hidden fields or query string and (as asked
above) if hidden fields are better, how does one add them dynamically
to a form?
Regards,
Milkyway