Dynamic form processing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Laman

    Dynamic form processing

    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?
  • Holger Jeromin

    #2
    Re: Dynamic form processing

    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

    Comment

    • GArlington

      #3
      Re: Dynamic form processing

      On May 6, 9:16 am, Peter Laman <peter.la...@gm ail.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 "dynamicall y 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...

      Comment

      • Laser Lips

        #4
        Re: Dynamic form processing

        Peter, show us your code your using to add the new hidden element...

        Graham

        Comment

        • Peter Laman

          #5
          Re: Dynamic form processing

          On May 6, 2:05 pm, Laser Lips <loudsphi...@gm ail.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.

          Comment

          Working...