View Full Version : How to embed elements in a from before POSTING

Jul 9th, 2007, 01:06 AM
I am trying to write an ajax code that will take the whole row from a table an put it in a form element then submit that form. The problem is I am not able to get the correct inputs when I use getElementByID ('row_id') and do a clone for that row. The values in the inputs in the ROW are the default when the page was loaded. Can any one give me a tip on this?

Jul 10th, 2007, 02:15 AM
Why are you cloning the row?

Ajax has nothing to do with DOM, it deals with talking to the server through the XMLHttpRequest object. Are you actually using that?


Jul 11th, 2007, 03:56 AM
Yes Eric, I am doing this. But the problem is the modified inputs are not reflected in the DOM element I am getting. Ho you know why ?