Update textfield from database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • livid86
    New Member
    • Nov 2008
    • 8

    Update textfield from database

    Hey Guys,

    I'm working on an web based managment system for work. At the moment i've got a combo box which autofill from a database. The value shown is the name of the product and the value is the id. When the combo box is changed i need to update a textbox beside the combo box with a value from the database.

    Any ideas?

    Thanks Guys
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    you could do an AJAX-call to request and populate the data from the database in the background and avoid a page reload ... or you could reload the entire page by doing a common old form-submit 'onchange' of the control.

    kind regards

    Comment

    • livid86
      New Member
      • Nov 2008
      • 8

      #3
      thanks, got it sorted.

      Comment

      Working...