Hey everybody,
I'm not sure wether I should put this in the php forum or this forum, so if you know javascript and php, please help!
I am creating a form in which the user has the ability to create elements dynamically.
These elements are created using this code:
I can see and type text into the textbox thus created, however, when I submit the form, its values do not appear in the POST data!
I have tried using the createElement and appendChild functions too, with the same result.
The javascript works, I can see the textboxes. I just don't know why I don't see these values with the php. I am sure it IS NOT the php also, but it would take too long to explain why. Is there something I should be doing extra? Is this unusual?
I'm not sure wether I should put this in the php forum or this forum, so if you know javascript and php, please help!
I am creating a form in which the user has the ability to create elements dynamically.
These elements are created using this code:
Code:
box="<input name=\"sets\" value=\"\" size=\"5\">";
//tr is defined earlier
tr.innerHTML=box;
I have tried using the createElement and appendChild functions too, with the same result.
The javascript works, I can see the textboxes. I just don't know why I don't see these values with the php. I am sure it IS NOT the php also, but it would take too long to explain why. Is there something I should be doing extra? Is this unusual?