Chainging Text Box value on selecting combo value

Discussion in 'PHP' started by girishkardam, Dec 3, 2008.

  1. #1
    Hi,

    I am having two combo City & Party and two text fields Leading & Win values of City, Party, Leading & Win stored in mysql db. I want to change text fields value i.e Leading & Win value on the basis of selected City & Party without refreshing the page.

    Kindly help me out in the same.
     
    girishkardam, Dec 3, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    YOu need to use ajax to update one text field with information obtaind from a script, search for ajax javascript examples and you'll find alot! :)
     
    EricBruggema, Dec 3, 2008 IP
  3. elias_sorensen

    elias_sorensen Well-Known Member

    Messages:
    852
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Look at jQuery ;) Works flawlessly.
     
    elias_sorensen, Dec 4, 2008 IP