表单输入过滤匹配信息
JavaScript Code
- <script>
- $('#input').octofilter({
- source: {
- country: ['Brazil', 'United States', 'Japan'],
- filter: ['Freejs.net', 'Unpublished'],
- status: ['Active','Inactive']
- }
- });
- </script>
XML/HTML Code
- <form action="/">
- <input type="text" id="input" placeholder="Type to search...">
- </form>
原文地址:http://www.freejs.net/article_biaodan_497.html