Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the functionality to allow filtering on a table and restrict elements from the filter #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

doolittlece
Copy link

There is a new input on the options ignore that allows you to ignore elements in a table using a class. The rest of the functionality stayed the same. The ignore defaults to the class filter-ignore but you can set it to any class you want. You just pass the class name in the options under the ignore like {ignore: 'a-class-to-ignore'}.

Casey Doolittle and others added 3 commits August 6, 2013 13:41
You can add an ignore to the options that allows the filter to ignore
children that have that class. The ignore defaults to filter-ignore. To
support this changed to use the jQuery.text() function.
Changed the .children to .contents to support text nodes.
Change to jQuery over $ in testing found that it was causing problems
with other frameworks for example prototype. To be safe, change to use
the jQuery instead of the $ alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant