Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14343

Help in converting vanilla PHP to CI (AJAX + filter + infinity scroll)

$
0
0
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

Viewing all articles
Browse latest Browse all 14343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>