Here i have explained how to use International Telephone Input.

Step1: copy the following HTML Markup and paste it inside body tag.

HTML Markup

<input id="phone" type="tel">

Step2: attach the following CSS files inside head tag.

CSS

  <link rel="stylesheet" href="build/css/intlTelInput.css">  
  <link rel="stylesheet" href="build/css/demo.css">

Step3: attach the following javascript files inside head tag.

Javascript

 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 <script src="build/js/intlTelInput.js"></script>
$("#phone").intlTelInput({
      utilsScript: "build/js/utils.js"
    });

Screenshot

Add Comments