country-region-selector/example.html

32 lines
662 B
HTML
Raw Normal View History

2014-03-23 04:10:12 +00:00
<!doctype html>
<html>
<head>
<title></title>
</head>
2014-03-24 04:32:44 +00:00
<body>
2014-03-23 04:10:12 +00:00
2014-03-24 04:32:44 +00:00
<h1>Example 1</h1>
2014-03-23 04:10:12 +00:00
2014-03-24 04:32:44 +00:00
<p>
This is a simple no-frills example.
</p>
2014-03-23 04:10:12 +00:00
2014-03-24 04:32:44 +00:00
<select class="crs-country" data-region-id="one"></select>
<select class="crs-region" id="one"></select>
2014-03-23 04:10:12 +00:00
2014-03-24 04:32:44 +00:00
<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>
2014-03-23 04:10:12 +00:00
</html>