Welcome Guest, Not a member yet? Register   Sign In
Help in converting vanilla PHP to CI (AJAX + filter + infinity scroll)
#1
Question 

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. 

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
Reply


Messages In This Thread
Help in converting vanilla PHP to CI (AJAX + filter + infinity scroll) - by castle - 03-23-2018, 04:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB