html中radio设置默认值
2007-10-07 12:51
232 查看
在radio的属性中添加cheeck属性,即可实现在html中设置radio默认值
<input type="radio" name="sex" value="2" checked="true" />
当然,<input type="radio" name="sex" value="2" checked />
也是可以实现的。
<input type="radio" name="sex" value="2" checked="true" />
当然,<input type="radio" name="sex" value="2" checked />
也是可以实现的。
相关文章推荐
- html中radio设置默认值
- 动态设置select与radio的默认值
- struts1设置option, radio 的默认值
- Struts2单选按钮标签s:radio的使用及其设置默认值
- struts2 标签使用 iterator 嵌套使用设置默认值 s:radio 设置默认值
- Struts2单选按钮标签s:radio的使用及其设置默认值
- @Html.DropDownListFor 设置默认值
- html radio 默认值
- html:radio默认值的设定
- 设置HTML标签<textarea>默认值
- Struts2 <s:radio>的使用及其设置默认值
- HTML input 默认值设置
- struts1中radio list的默认值设置和value保持
- Struts2单选按钮标签s:radio的使用及其设置默认值《转载》
- MVC3中给Html.TextAreaFor设置默认值(初始值)
- HTML input 默认值设置
- HTML下使用Radio设置选择样式。
- Select下拉列表设置默认值,html和js
- @Html.DropDownListFor 设置默认值
- HTML input文本框设置和移除默认值