0

I use jquery isotope to display my portfolio. I try to insert hidden elements to isotope container.

To do this I remove on load elements, then I try to insert it on click.

However, removed elements don't want to appear again after click.

How can I do this?

Here a fiddle example of what I do : http://fiddle.jshell.net/s5TBU/

Sorry for my English, I'm French

4

1 回答 1

1

As you removed your elements from the DOM using the remove method, they cannot be selected anymore. You can keep them in some variable before removing them if you want to insert them again afterwards OR maybe the hide method would be enough for what you want to do, and your elements would still be selectable.

于 2013-03-30T22:18:30.873 回答