get data from database to the text field

get data from database to the text field

I have 2 text fields, where it should shows the data from the database. I also have a dropdown list (Region) & currency type (currency). 

so when I select the region from the dropdown list, the currency changes accordingly. like if I choose US, the currency should change to USD, for UK its changes to GBP, for EU it changes to EUR, but for the rest it is USD but the prices are different for all the region. here is the code for the region & currency. 
  1. <script type="text/javascript">
  2. $(function(){
  3. $("#country").change(function() {
  4. var country = $(this).val()
  5. var currency = {
  6. USD: "USD",
  7. EUR: "EUR",
  8. GBP: "GBP"
  9. }[country]
  10. if (currency)
  11. $("[name=optradio][value='" + currency + "']").prop("checked", true)

  12. })
  13. });
  14. </script>


 here is the html (I did not include the text boxes)
  1. <div class="col-md-3 form-inline">
  2. <div class="form-group">
  3.   <label for="Country">Region</label>
  4.   <select name="Country" class="form-control" id="country" required>
  5. <option value="">Please select Region</option>
  6. <option value="USA">US</option>
  7. <option value="EUR">EU</option>
  8. <option value="GBP">UK</option>
  9. <option value="USD">China</option>
  10. <option value="USD">India</option>
  11. <option value="USD">Brazil</option>
  12. <option value="USD">Japan</option>
  13.                               </select>
  14.  </div>
  15. </div>
  16. <div class="col-md-3 form-inline">
  17. <div class="form-group">
  18. <label for="Currency">Currency</label>
  19.                     <label class="radio-inline">
  20.                         <input type="radio" name="optradio" value="USD" disabled="">USD</label>
  21.                     <label class="radio-inline">
  22.                         <input type="radio" name="optradio" value="EUR" disabled="">EUR</label>
  23.                     <label class="radio-inline">
  24.                         <input type="radio" name="optradio" value="GBP" disabled="">GBP</label>
  25.  </div>
  26. </div>
here is the price list

Car           US         UK        EU       China       India   Brazil  Japan 
BMW 5000       4000       4400        8000       9000    7000   4000
Ford         4000       3500       4000        9000      11000  10000   6000

can anyone please help me, how can I get the data from the database for the text field for different region. 
thank you