I have content that will be reload with load() on each time checkbox is selected/unselected.
The problem is when content is to hight and you need to scroll down after every load page is going on top and you need to scroll down again is there anyway to display page at same position ?
For example if you use click on group Height then to load page on href #126
i was thinking to use scrollTop element after page reload but is look terrible for user experience
<div class="filters">
<div class="filter-wrapper">
<div class="group">
<a href="#5">Width</a>
<div class="options">
<input type="checkbox" name="" value="10 m">
<input type="checkbox" name="" value="20 m">
<input type="checkbox" name="" value="30 m">
</div>
</div>
<div class="group">
<a href="#126">Height</a>
<div class="options">
<input type="checkbox" name="" value="100 kg">
<input type="checkbox" name="" value="200 kg">
<input type="checkbox" name="" value="300 kg">
</div>
</div>
<div class="group">
<a href="#38">Color</a>
<div class="options">
<input type="checkbox" name="" value="Green">
<input type="checkbox" name="" value="Red">
<input type="checkbox" name="" value="Blue">
</div>
</div>
</div>
</div>
<script type="text/javascript">
$('.option input').click(function(){
$('.filter-wrapper').load('index.php?route=product/filter&path=<?php echo $path ?>'+selected_filters);
})
</script>