Свяжитесь с нами

Отправить запрос

 


 

Please make sure your contact information is correct. Your message will be sent directly to the recipient(s) and will not be publicly displayed. We will never distribute or sell your personal information to third parties without your express permission.

var verify = false; var verifyCallback = function(response) { verify=true; }; var onloadCallback = function() { grecaptcha.render('html_element', { 'sitekey' : '6LfXfbAUAAAAAJotbj2GLsgoQzPyCYygoTgwNr6q', 'callback' : verifyCallback, }); }; $(document).ready(function() { $('#submit_btn').click(function(){ if(verify){ $('#InquiryForm').submit(); } else{ возвращаем false; } }); }); 获取GEOIP信息 var YOUR_KEY = "4f21d3e89231c93599ff1f8b7a82a008d03beed6ce46978d8e2816f13ad7e5c1"; var theURL = "//api.ipinfodb.com/v3/ip-city/?key=" + YOUR_KEY + "&format=json&callback=?"; $.ajax({ тип: "POST", url: URL-адрес, contentType: "application/json; charset=utf-8", dataType: "json", метод: 'GET', success: function (data) { $("#country").val(data.countryCode); $("#ipAddress").val(data.ipAddress); $("#countryName").val(data.countryName); $("#countryCode").val(data.countryCode); $("#regionName").val(data.regionName); $("#cityName").val(data.cityName); $("#zipCode").val(data.zipCode); $("#latitude").val(data.latitude); $("#longitude").val(data.longitude); $("#timeZone").val(data.timeZone); } }); $(".fancybox").fancybox();