0
我使用的jqGrid图像标签此值,当我打电话
$('#testGridList').jqGrid ('getCell', id, 'pic');
这回
<img src="http://localhost:8080/myApp/DownloadFile?type=THU_IMG&id=409" height="70" width="90" class="example1tooltip" style="cursor:pointer" alt="photo" title="View Org photo" onclick="getUxx()">
怎么办我只得到src
的价值?
.getAttribute( “SRC”)不工作。 “Uncaught TypeError:$(...)。jqGrid(...)。getAttribute不是函数” – iTech
@ iTech ..查看更新ans。 –
谢谢..更新后的代码正在工作:) – iTech