Using Ajax generated data in a form

Discussion in 'PHP' started by Tintumol, Apr 9, 2011.

  1. #1
    Hello, working with Ajax (which I don't appear to be really good at) to populate some <select> dynamically. So, I got it working (it's country > region > city lists), when you pick a country next <select> will be populated with the different regions (or states) and when you pick a region, the last one will get populated with the cities.

    So now, I want to send this form. But it appears that I can't do it just like that. It doesn't seem to send the <select> populated (getting an "undefined index" when I submit the form and try to echo each input).

    So, does anyone know how I could work with this, because now I manage to write those Ajax functions, I'd be unhappy if I couldn't use them...

    Thanks.
     
    Tintumol, Apr 9, 2011 IP
  2. codeartist

    codeartist Peon

    Messages:
    96
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    have you post by ajax on change event of the select ?
     
    codeartist, Apr 10, 2011 IP
  3. sg.kibria

    sg.kibria Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i need usd via moneybookers pls help me.
     
    sg.kibria, Apr 10, 2011 IP
  4. codeartist

    codeartist Peon

    Messages:
    96
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How you your problem related with this thread ?
     
    codeartist, Apr 11, 2011 IP