Comments on: International Telephone Input with Country Flags and Dial Codes using jQuery https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/ Web & Mobile App Development Company Wed, 11 May 2022 14:27:40 +0000 hourly 1 By: Brett H https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/comment-page-1/#comment-175461 Wed, 11 May 2022 14:27:40 +0000 https://www.codexworld.com/?p=3310#comment-175461 How can I have 2 phone fields on the same page?

]]>
By: Hayden Ng https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/comment-page-1/#comment-129791 Mon, 14 Dec 2020 02:18:05 +0000 https://www.codexworld.com/?p=3310#comment-129791 Hi, This works great on my side but looks like the flags are greyed out on other desktop devices on any browser. But it is showing on mobile. Do you know why?

]]>
By: Ajit Kar https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/comment-page-1/#comment-104774 Mon, 17 Feb 2020 11:40:16 +0000 https://www.codexworld.com/?p=3310#comment-104774 $(“#phone”).on(“blur keyup change countrychange”, function() {
var getName = intl.selectedCountryData[‘name’];
var getCode = intl.selectedCountryData[‘dialCode’];
$(‘#lead_country_name’).val(getName);//You will get only phone number without country code
$(‘#lead_prefix’).val(getCode);//You will get country code only
});
Remember add two hidden fields in the form.
Cheers!

]]>
By: giri https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/comment-page-1/#comment-103028 Mon, 27 Jan 2020 10:16:37 +0000 https://www.codexworld.com/?p=3310#comment-103028 thank you…………its very usefull……….

]]>
By: KIm https://www.codexworld.com/international-telephone-input-with-country-flags-dial-codes-jquery/comment-page-1/#comment-94689 Sun, 06 Oct 2019 11:01:20 +0000 https://www.codexworld.com/?p=3310#comment-94689 How to get the “the country” and not only phone number without country code…?

]]>