Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<!DOCTYPE html>
2
<html>
3
 
4
<head>
5
  <meta charset="utf-8">
6
  <title>International Telephone Input</title>
7
  <link rel="stylesheet" href="build/css/intlTelInput.css">
8
  <link rel="stylesheet" href="build/css/demo.css">
9
</head>
10
 
11
<body>
12
  <h1>International Telephone Input</h1>
13
  <form>
14
    <input id="phone" name="phone" type="tel">
15
    <button type="submit">Submit</button>
16
  </form>
17
 
18
  <script src="build/js/intlTelInput.js"></script>
19
  <script>
20
    var input = document.querySelector("#phone");
21
    window.intlTelInput(input, {
22
      // allowDropdown: false,
23
      // autoHideDialCode: false,
24
      // autoPlaceholder: "off",
25
      // dropdownContainer: document.body,
26
      // excludeCountries: ["us"],
27
      // formatOnDisplay: false,
28
      // geoIpLookup: function(callback) {
29
      //   $.get("http://ipinfo.io", function() {}, "jsonp").always(function(resp) {
30
      //     var countryCode = (resp && resp.country) ? resp.country : "";
31
      //     callback(countryCode);
32
      //   });
33
      // },
34
      // hiddenInput: "full_number",
35
      // initialCountry: "auto",
36
      // localizedCountries: { 'de': 'Deutschland' },
37
      // nationalMode: false,
38
      // onlyCountries: ['us', 'gb', 'ch', 'ca', 'do'],
39
      // placeholderNumberType: "MOBILE",
40
      // preferredCountries: ['cn', 'jp'],
41
      // separateDialCode: true,
42
      utilsScript: "build/js/utils.js",
43
    });
44
  </script>
45
</body>
46
 
47
</html>