var imgs = $("-sharppictureQueryTable img").prevObject[0].images;
the following figure is the printed result of the above sentence:
console.loglength0dom
console.log($("-sharppictureQueryTable img"))
:
:
{
title : "",
name : "PICTURE_NAME1",
width : 320,
lockWidth : false,
align : "center",
renderer : function(val, item, rowIndex) {
if (item.COLLECTION_NAME1 != undefined) {
picture_path = "image/no_picture.png";
var picture_name = item.COLLECTION_NAME1 + "("
+ item.COLLECTION_CODE1 + ")";
if (item.PICTURE_PATH1) {
picture_path = getLocaleHostPath()
+ item.PICTURE_PATH1;
}
val = val != null ? val : "";
return "<div style="width:310px;height:100%;text-align:center;background-color:white;padding-top:5px;"><div>"
+ "<a href="javascript:void(0)" onclick="openPage(\"html/showcenter/collection/collectionstatistical/picturequery/PictureDetailInfo.html?id="
+ item.COLLECTION_ID1
+ "&collection_code="
+ item.COLLECTION_CODE1
+ "\",\"1300,600\")">"
+ "<img alt="" style="width:200px;height:200px;" title=""+val+"" src=""+picture_path
+""/></a></div><span style="margin-top:5px;">"
+ picture_name + "</span></div>";
} else {
return "";
}
}
}