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

14 lines
447 B
Plaintext

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