Dropdown (with onChange) with custom taxonomies

without seeing any code you could try the following

$('#IDofYourCountrySelectField').on('change', function() {
  //Code to update option values of city select field
});

or

$('#IDofYourCountrySelectField').change(function() {
  //Code to update option values of city select field
});

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)