<display:table class="table" name="regionList" id="elem"
requestURI="./addCountry.html">
<display:column property="name" title="Country" />
<display:column property="code" title="City" />
<display:column title=" ">
<a href="QQQQ.html?id=<c:out value='${elem.id}' />">Edit</a>
</display:column>
</display:table>
如何将整个表格行可点击为链接?
答案 0 :(得分:0)
这里有3个选项:
$(".parentdiv").click(function() {
window.location = $(this).data("http:///www.location.com");
});
<div onclick="location.href='YOUR-URL-HERE';" style="cursor: pointer;"></div>