| 
		
			Сообщение от ufaclub
			
		
	 | 
	
		как мне сделать что то чтобы в div#phone выводился телефон 
 
если text(geolocation.city) = Уфа то выводим +7347200000 если нет то выводим телефон 88001234567
	 | 
	
Провангую, что как-то так
ymaps.ready(init);
function init() {
	var geolocation = ymaps.geolocation;
	if (geolocation) {
		var city=geolocation.city
		jQuery("#city").text(city);
		var phone=(city=='Уфа')? '+7347200000': '88001234567';
		jQuery("#phone").text(phone);
	} else {
		console.log('');
	};
};