Search Content in Page

<!--Use this code in a page where there is a lot of content and you want people to be able to find what they need quickly. -->
<!--A good example is a page that contains a long list of people.-->


<form method="GET">
    <input type="text" name="search" id="search" class="form-control" placeholder="type to search" autofocus="true"/>
</form>

<!--Insert the lister that will generate the content here. Make sure that each searchable div has the class "snippet"/-->


<!--Below everything else-->
<script type="text/javascript" src="/files/content/www/js/jquery.quicksearch.js"></script>
<script type="text/javascript">
    $('input#search').quicksearch('.snippet');
</script>