wefra/lib/intl-tel-input-master/examples/gen/js/multipleInstances.js

14 lines
451 B
JavaScript
Raw Normal View History

var inputHome = document.querySelector("#home");
var inputMobile = document.querySelector("#mobile");
window.intlTelInput(inputHome, {
initialCountry: 'gb',
placeholderNumberType: 'FIXED_LINE',
utilsScript: "../../build/js/utils.js?1541153396801" // just for formatting/placeholders etc
});
window.intlTelInput(inputMobile, {
initialCountry: 'gb',
placeholderNumberType: 'MOBILE',
utilsScript: "../../build/js/utils.js?1541153396801"
});