<script type="text/javascript">
jQuery(document).ready(
function() {
jQuery('.scroll_container').scrollExtend(
{
'target': 'div#scroll_items',
'url': 'components/com_a_main_search/more_content.php?limit='+???????,
'newElementClass': 'list_item more_content'
}
);
}
);
</script>
How can pass incremental value instead of "???????"
Thanks for help
store it in a variable and pass it.
for eg. )
<script type="text/javascript">
jQuery(document).ready(
$inc = 1;
function() {
jQuery('.scroll_container').scrollExtend(
{
'target': 'div#scroll_items',
'url': 'components/com_a_main_search/more_content.php?limit='+$inc,
'newElementClass': 'list_item more_content'
}
);
}
);
</script>
I 'm not very sure if this is what you are looking for as I couldn't have any better understanding from the question.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.