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

Update textfield from database

P: 8
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
Nov 8 '08 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 5,227
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
Nov 9 '08 #2

P: 8
thanks, got it sorted.
Nov 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.