<div class="form-group" > <label class="col-sm-2 control-label">所属类型<font size="3" color="red">*</font></label> <div> <input type="radio" name="vote.type" value="1" style="margin-top: 11px" <#if (vote.type)??> <#if (vote.type) == 1> checked="checked" </#if> <#else> checked="checked" </#if> > 投票 <input type="radio" name="vote.type" value="2" style="margin-top: 11px" <#if (vote.type)??> <#if (vote.type) == 2> checked="checked" </#if> </#if> > 福利 </div> </div>
radio的回显与默认初始值
最新推荐文章于 2024-06-28 16:59:00 发布