I use jQuery.load function to get 3 list items from another page. It works fine, but I was wondering how to add a “boot counter” while loading content and how to disappear in my content when it is loaded.
My code is:
$('.homeProducts').load('http://localhost/products #product_list li:lt(3)');
PS I do not know that this is the right way to get these products, but it works for me.
source
share