New Zenner
- Join Date:
- Jul 2012
- Posts:
- 5
- Plugin Contributions:
- 0
ajax question
I'm using AJAX for infinite scrolling with zen cart.
Here is a code snippet:
<script type="text/javascript">
$(window).scroll(function(){
if($(window).scrollTop() == $(document).height() - $(window).height()){
$('div#loadmoreajaxloader').show();
$.ajax({
cache: false,
url: 'loadmore.php',
success: function(html){
etc.
I was wondering where I should store the file 'loadmore.php' that basically echo's out my additional pages of data.
thanks!