Created
December 9, 2011 23:10
-
-
Save DevL/1453745 to your computer and use it in GitHub Desktop.
list.js international character test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>list.js international characters test</title> | |
<script type="text/javascript" src="list.min.js"></script> | |
</head> | |
<body> | |
<div id="encoding_test_list"> | |
<input class="search" type="text" /> | |
<span class="sort" data-sort="character">Sort characters</span> | |
<span class="sort" data-sort="description">Sort description</span> | |
<ul class="list"> | |
</li> | |
<h1 class="character">å</h1> | |
<p class="description">The antepenultimate character (lowercase) in the Swedish alphabet. (0)</p> | |
</li> | |
<li> | |
<h1 class="character">Å</h1> | |
<p class="description">The antepenultimate character (uppercase) in the Swedish alphabet. (1)</p> | |
</li> | |
<li> | |
<h1 class="character">Ä</h1> | |
<p class="description">The penultimate character (uppercase) in the Swedish alphabet. (2)</p> | |
</li> | |
<li> | |
<h1 class="character">Ö</h1> | |
<p class="description">The last character (uppercase) in the Swedish alphabet. (3)</p> | |
</li> | |
<h1 class="character">å</h1> | |
<p class="description">The antepenultimate character (lowercase) in the Swedish alphabet. (4)</p> | |
</li> | |
<li> | |
<h1 class="character">ä</h1> | |
<p class="description">The penultimate character (lowercase) in the Swedish alphabet. (5)</p> | |
</li> | |
<li> | |
<h1 class="character">ö</h1> | |
<p class="description">The last character (lowercase) in the Swedish alphabet. (6)</p> | |
</li> | |
</ul> | |
</div> | |
<script type="text/javascript" charset="utf-8"> | |
var options = { | |
valueNames: ['character', 'description'] | |
}; | |
var character_list = new List('encoding_test_list', options); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Searching/sorting removes all elements.
Removing the first listitem containing an 'å' (description contains '(0)') will yeild a searchable and sortable list BUT only the capital Å, Ä, and Ö will work (1-3). Elements 4-6 will be removed (?) until a full refresh of the page is performed.