By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,439 Members | 1,315 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,439 IT Pros & Developers. It's quick & easy.

Dynamic form processing

P: n/a
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?
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
Jun 27 '08 #2

P: n/a
On May 6, 9:16 am, Peter Laman <peter.la...@gmail.comwrote:
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>...</formtags that you are trying to submit...
Jun 27 '08 #3

P: n/a
Peter, show us your code your using to add the new hidden element...

Graham
Jun 27 '08 #4

P: n/a
On May 6, 2:05 pm, Laser Lips <loudsphi...@gmail.comwrote:
Peter, show us your code your using to add the new hidden element...

Graham
Well, I already chose another solution and I could not duplicate the
problem. I must have overlooked something. Sorry for bothering you
guys.
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.