Your English was fine, better than mine probably :)
You're going to want to make use of ajax to get the data from your database when a selection is made in the dropdown. You can detect a change in your dropdown like this:
$("#dropdownID").change(function() {
// do stuff
});
Inside the function is where you'll make an ajax call to get the required data from the database. There are two ways to do it. If the data is going into a div or some other part of the DOM you can simply use load (
http://api.jquery.com/load/) to get the info and put it where it needs to go. The advantage is that load is easy to use, the disadvantage is that you would need to call load for each separate DOM element you need to put info into.
If you have form elements to fill the values of then you'll want to use the ajax method (
http://api.jquery.com/jQuery.ajax/) to get the data, and then in the success handler, you'll parse the info and apply it where needed.
Here is a rough example of the later:
- $("#dropdownID").change(function() {
$.ajax({
url: "DB url", // a page that access the DB
data: {theItem : $(this).val()},
// selected item
success: function(data){
// parse the results
}
});
-
});
Hopefully that'll get you started.