<script> ymaps.ready(function(){ var sity = ymaps.geolocation.city; sity = toCase(sity, "п") $('#wb_gorod').text('Городе: '+sity); }) </script>