That is very close :-)
Is it possible to easily narrow the search field's function to only work by searching for one field and only for numbers?
Example: Only search in field uk-size and search only for the numbers 8, 9, 10 etc.
The reason I am asking is because the searchfield on the site I'm working on should be working this way. Sorry for not describing it initially.
I have updated the codepen (http://codepen.io/gpetrioli/pen/xLzfv) to search in specific sub-node of each isotope item (the one with class
size) and i have also incorporated your code to use ranges instead of just a number.
(in the example code i have added another element which is to be used for the searching, to avoid having to parse the number out of the
"uk-size8" etc strings)
Is it possible to combine the solution with URL-filter/hashchange.
I would like to link to the page prefiltered and I having difficulty finding proper documentation on Hashchange in version V2 of isotope.