I'm trying to convert this PHP tutorial to CI Product Ajax Search Filter With Infinite Scroll More Using PHP And Mysqli. But so far, no luck. I "think" my problem is the Javascript code, specially this part.
I don't know how to make this JS code CI friendly. I tried something like this, but it didn't work.
I'm after a kind of AJAX search/checkboxes filter with infinite scroll, but I found none implemented in CI. So, I'm trying to convert this tutorial to CI.
Any tips or suggestions on how to do this?
Regards,
Castle
Code:
$.get("autoload.php?group_no="+total_record+"&brand="+brand+"&material="+material+"&size="+size,I don't know how to make this JS code CI friendly. I tried something like this, but it didn't work.
Code:
$.get(baseURL+'/index.php/home/filtered'+group_no="+total_record+"&brand="+brand+"&material="+material+"&size="+size)I'm after a kind of AJAX search/checkboxes filter with infinite scroll, but I found none implemented in CI. So, I'm trying to convert this tutorial to CI.
Any tips or suggestions on how to do this?
Regards,
Castle