例:
<button type="button" onclick="location.href='list.html';" th:onclick="|javascript:find('list','${pageNum}')|">find</button>
<a href="list.html" th:href="|javascript:find('list','${a.id}')|">超链接</a>
其他同理。
例:
<button type="button" onclick="location.href='list.html';" th:onclick="|javascript:find('list','${pageNum}')|">find</button>
<a href="list.html" th:href="|javascript:find('list','${a.id}')|">超链接</a>
其他同理。