SHARE
TWEET

Untitled

a guest Jun 25th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <input type="tel" id="select__flags_main" class="headerform__tel input__text input__gray input__hover" name="flags" placeholder="Телефон *">
  2.      
  3. var mainform = document.querySelectorAll(".headerform__tel");
  4.  for (var i = 0; i < mainform.length; i++) {
  5.   intlTelInput(mainform[i], {
  6.    defaultCountry: "ru",
  7.    autoPlaceholder: true,
  8.    onlyCountries: ['ru', 'by', 'ua', 'kz'],
  9.   });
  10. }
  11.      
  12. .setNumber("+447733123456")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top