I am appending images to table from webmethode, json like below..
$(document).ready(function () {
alert('Hello');
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "Default4.aspx/BindDatatable",
data: "{}",
dataType: "json",
success: function (data) {
var imgs;
var el = ""; " ';
for (var i = 0; i < data.d.length; i++) {
if (i % 6 == 0) {
el += "
}
el += "
"; ";
el += "
}
el += '
$("#gvDetails").append( $(el) );
},
error: function (result) {
alert("Error");
}
});
});
so now I want to populate images and slide one by one by pressing next and previous..
I tried many links which have in this site and aspsnippest but those are not working for my above code.

Avinash AherPosted Sep 17, 2015, 2:45 PM