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