Level 8
You don't need AJAX - you can accomplish this with query strings. In fact, there are filtering packages available to make it a bit easier. Just search on Github
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Could you recommend me the correct way. I have a list (in datatables) of transactions generated by controller's function index. I would like to filter that list by date range picker. How should it be done? Should I use AJAX or form with get/post? What is the best practice? If AJAX then I would like to return view - is that possible?
You don't need AJAX - you can accomplish this with query strings. In fact, there are filtering packages available to make it a bit easier. Just search on Github
Please or to participate in this conversation.