@berlinsms/country-picker
Version:
jquery-plugin to pick a country-code in a formular
20 lines (19 loc) • 521 B
HTML
<html>
<head>
<title>Country Dropdown Plugin</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="../dist/bsms-country-picker.css">
<script src="../dist/bsms-country-picker.min.js"></script>
</head>
<body>
<div class="country-picker-container"/>
<script>
$(() => {
$('.country-picker-container').bsmsCountryPicker({
defaultCountry: "DE"
});
});
</script>
</body>
</html>