Used below HTML to show 3 Div on page load. On each click, show next 3 items. If no item exists, hide the button.
Below JS code, working fine on page load to show 3 DIVs.