标签:abi inpu span func fun pre val ted var
<div class="form-group"> <div class="select_div"> <input class="form-control" type="hidden" id="brands" th:value="${fikabivoidfinancereport.brand}"> <select class="selectpicker" id="brand" name="brand"> <option selected="selected" value="">请选择品牌</option> <option >KuKo</option> <option >CoCo</option> </select> </div> </div> //品牌值回显 $(function() { var brands = $(‘#brands‘).val(); if(brands != ‘‘){ $(‘#brand‘).val(brands); } });
标签:abi inpu span func fun pre val ted var
原文地址:https://www.cnblogs.com/leigei-it/p/12808857.html