Skip to content

Instantly share code, notes, and snippets.

@marqsm
Created February 15, 2013 13:06
Show Gist options
  • Save marqsm/4960265 to your computer and use it in GitHub Desktop.
Save marqsm/4960265 to your computer and use it in GitHub Desktop.
Highlight for fastLiveFilter
$('#searchTerm').fastLiveFilter('#eventList', {
callback:function(total) {
$('#myList').unhighlight();
searchTerm = $("#searchTerm").val();
if (searchTerm.length > 0) {
$('#myList').highlight(searchTerm);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment