<option th:each="kin:${result}" th:if="${kin.kind}" th:value="${kin.typeId}" th:text="${kin.type}"></option>
function getK() {
var value = document.form.kind.value;
return value;
}
th:if可不可以判断这个kin.kind是否等于getK()返回的值
<option th:each="kin:${result}" th:if="${kin.kind}" th:value="${kin.typeId}" th:text="${kin.type}"></option>
function getK() {
var value = document.form.kind.value;
return value;
}
th:if可不可以判断这个kin.kind是否等于getK()返回的值