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

10 lines
279 B
JavaScript

var input = document.querySelector("#phone");
var statusElement = document.querySelector("#status");
var iti = window.intlTelInput(input, {
utilsScript: "../../build/js/utils.js?1541153396801",
});
iti.promise.then(function() {
statusElement.innerHTML = "Initialised!";
});