Answer the question
In order to leave comments, you need to log in
How to make it work without reloading the page?
There is this code
<div class="sort">
<form action="">
<select name="" id="">
<option value="item1">Item 1</option>
<option value="item2">Item 2</option>
<option value="item3">Item 3</option>
</select>
</form>
</div>
<div class="tmp">
<div class="item item3">
<img src="http://placehold.it/100x100" alt="">
</div>
<div class="item item1">
<img src="http://placehold.it/100x100" alt="">
</div>
<div class="item item2">
<img src="http://placehold.it/100x100" alt="">
</div>
<div class="item item3">
<img src="http://placehold.it/100x100" alt="">
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Yes, a plugin is not needed
here, here is an example on jQuery: jsfiddle.net/gL8fz6ws
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question