Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

In my html page provided "Search" function, based on "search" images will be display in thumbnails. Every image have different details. When i click 1st image details will be displaying. I want to provide "Next and Previous" (Using Next and Previous hyperlinks) function.

I used array list and kept "alert" also, it displaying total images number.


  var data = artistDS.data();
// for (var i = 0; i <= data.length; i++) {

  alert(data.length);
   alert(data[0].ListingID);
var listingids = new Array();
 for (i = 0; i < data.length; i++) {
listingids[i] = data[i].ListingID;
 alert(i);
  }



How to do this?

Thanks and Regards,
Krishna
Posted
Updated 3-Sep-14 20:56pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900