On a entries (listing) page I'm using pagination and a fixed limit of entries set. I want visitors to be able to select (dropdown) the number of entries that should be listed (limit).
I'm not a Java or AJAX expert can someone show me the way?
<div class="grid-show">
<select>
<option value="12">12</option>
<option value="20">20</option>
<option value="50">50</option>
</select>
</div>
{% paginate craft.entries({
section: 'holidayHomes',
limit: 12 ,
}) as pageInfo, pageEntries %}
{% for entry in pageEntries %}
<div class="cdescription">
<a href="{{ entry.url }}" >{{ entry.title }}</a>
<p>{{ entry.body | striptags | slice(0,300)~'...' }}</p>
</div>
{% endfor %}