🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A convenient country picker plugin that enables the user to select countries, continents, regions from a filterable dropdown list, with support for country flags and ISO codes.

country-selector

Documentation

Welcome to nicecountryinput

An easy-to-use country picker. Just 1 JS and 1 CSS file.

Show Demo!

Usage:

    <script src="niceCountryInput.js"></script>     <link rel="stylesheet" type="text/css" href="niceCountryInput.css">      <div id="testinput" style="width: 300px;" data-selectedcountry="US" data-showspecial="false"         data-showflags="true" data-i18nall="All selected" data-i18nnofilter="No selection"          data-i18nfilter="Filter" data-onchangecallback="onChangeCallback">     </div>      <script>         function onChangeCallback(ctr){             console.log("The country was changed: " + ctr);         }         $(document).ready(function () {             new NiceCountryInput($("#testinput")).init();         });     </script> 

You May Also Like