This file contains 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
<ul class="js-people"> | |
<li data-name="John Doe">Mr. John Doe</li> | |
<li data-name="Trent Richardson">Mr. Trent Richardson</li> | |
<li data-name="Cindy Smith">Ms. Cindy Smith</li> | |
<li data-name="Bill Williams">Mr. Bill Williams</li> | |
<li data-name="Jane Doe">Mrs. Jane Doe</li> | |
</ul> | |
<script> | |
$(document).ready(function(){ | |
var $people = $('ul.js-people'), |