使用springboot+thymeleaf,如何使用js或者jQuery动态修改
<div id="tables" th:include="backstage/shoppingMall/orderAll::html"></div>
这种标签的th:include值,就像动态修改iframe的src一样?
function toAllOrders() {
$("#tables").attr("th:include","backstage/shoppingMall/orderAll::html");
}
这种方式不起作用