Function to go to a especific page index
The id of the Carousel element
The zero-based index of the item to go to
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Function to go to a especific page index