A jQuery plugin to categorized suggestions.
Include jQuery and Bootstrap Tabs:
<script src="jquery.js"></script>
<script src="bootstrap-tab.js"></script>Include plugin's CSS and JS:
<link rel="stylesheet" href="assets/jquery.octofilter.css">
<script src="src/jquery.octofilter.js"></script>Call the plugin:
$('input').octofilter({
source: {
category_name: ['Value1', 'Value2']
}
});Check out for example's source code here
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
That's it! Enjoy!
MIT License. Copyright 2013 Zigotto® - http://www.zigotto.com