From: Peter Laman on
In an HTML form I dynamically create hidden inputs (<input
type="hidden"...) with JavaScript. However, if the submit button is
hit, the data from these dynamically created inputs is not included on
the URL (if I use GET), or in the post data (if I use POST).
Apparently the changes to the HTML DOM are not completely processed
internally. Is there a way to force this?
From: Holger Jeromin on
Peter Laman schrieb am 06.05.2008 10:16:
> In an HTML form I dynamically create hidden inputs (<input
> type="hidden"...) with JavaScript. However, if the submit button is
> hit, the data from these dynamically created inputs is not included on
> the URL (if I use GET), or in the post data (if I use POST).

Which Browser?

> Apparently the changes to the HTML DOM are not completely processed
> internally. Is there a way to force this?


--
Mit freundlichen Gr��en
Holger Jeromin
From: GArlington on
On May 6, 9:16 am, Peter Laman <peter.la...(a)gmail.com> wrote:
> In an HTML form I dynamically create hidden inputs (<input
> type="hidden"...) with JavaScript. However, if the submit button is
> hit, the data from these dynamically created inputs is not included on
> the URL (if I use GET), or in the post data (if I use POST).
> Apparently the changes to the HTML DOM are not completely processed
> internally. Is there a way to force this?

Make sure that you "dynamically create hidden inputs" inside the form
you are trying to submit, use Firebug or IE dev toolbar (or any other
DOM viewer) to check that they are placed and formatted correctly
within <form>...</form> tags that you are trying to submit...
From: Laser Lips on
Peter, show us your code your using to add the new hidden element...

Graham