摘要: <input type="text" value="" id="mmm"> // HTML document.getElementById("mmm").value="值"; //JS 原版赋值方法 Jquery$("#mmm").val("值");$("#mmm").attr("value",值) 阅读全文
posted @ 2020-03-30 19:33 Raki0101 阅读(1312) 评论(0) 推荐(0)
摘要: 下段代码有误 Example example = new Example(ProductLine.class); example.createCriteria().andEqualTo("teamCount", userTeam); //默认使用第一个Criteria example.createC 阅读全文
posted @ 2020-03-26 20:27 Raki0101 阅读(195) 评论(0) 推荐(0)
摘要: 小坑简介: <div id=xxx>????</div> var nicai=$('#xxx').val() 结果,元素内容显示为空. val()方法,获取和设置表单字段的值,例如: 文本框(input),下拉列表(select) 等。 <input type="text" id="name" va 阅读全文
posted @ 2020-03-25 15:07 Raki0101 阅读(251) 评论(0) 推荐(0)