Get started with country-select-js CDN
MIT licensed
Country-select-js: Lightweight library for adding country dropdowns with flags to web forms.
Tags:- country
- international
- jQuery
Stable version
Copied!
How to start using country-select-js CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with country-select-js CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/country-select@latest/dist/css/countrySelect.min.css">
</head>
<body>
<div>
<label for="country">Select a country:</label>
<select id="country"></select>
</div>
<script src="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.js"></script>
<script src="https://cdn.cdnhub.io/country-select-js/2.1.1/js/countrySelect.min.js"></script>
<script>
const countrySelect = new CSSelect('country');
countrySelect.init();
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!