![](/img/trans.png)
[英]How do I make a blank empty cell in a table clickable and make it display something on another table using javascript?
[英]How to make table row clickable while using <display:table> &<display:column>
<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>
如何使整个表格行都可以单击为链接?
这里有3个选项:
$(".parentdiv").click(function() { window.location = $(this).data("http:///www.location.com"); });
<div onclick="location.href='YOUR-URL-HERE';" style="cursor: pointer;"></div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.