country-region-selector/example.html
2014-03-23 21:32:44 -07:00

32 lines
662 B
HTML

<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
<h1>Example 1</h1>
<p>
This is a simple no-frills example.
</p>
<select class="crs-country" data-region-id="one"></select>
<select class="crs-region" id="one"></select>
<hr size="1" />
<h1>Example 2</h1>
<p>
Custom default option texts for both the country and region dropdowns.
</p>
<select class="crs-country" data-region-id="two" data-default-option="Select a country, man!"></select>
<select class="crs-region" id="two"></select>
<hr size="1" />
<script src="source/country-region-selector.js"></script>
</body>
</html>