pagination - Dynamic perPage Variable in Laravel vis Select -


i'm submitting form index() action of resource controller it' scaling store() method. here's code.

http://paste.laravel.com/rru

i'm trying dynamically change $perpage variable adjust pagination amount via select box submitted using jquery. ideas.

as far know there no resource key available when opening form. index method on resource controller routed get request. because form opening post request default it's posting current uri results in request ending @ store method.

if you're trying update pagination why don't send get , use query string (as paginator does).


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -