首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

<html:radio>的初始化有关问题

2011-12-21 
html:radio的初始化问题html:radioname InfoMailReferForm property emailSoshinFlag value 0

<html:radio>的初始化问题
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "0 "/> 0
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "1 "/> 1
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "2 "/> 2
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "3 "/> 3
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "4 "/> 4
<html:radio   name= "InfoMailReferForm "   property= "emailSoshinFlag "   value= "5 "/> 5

请问,当emailSoshinFlag为3时候,让第3个radio的checked为true,其他的不选中,如何做啊,我这样好像不能自动绑定。

[解决办法]
这是个老问题。。。
看看我博客的这篇文章吧。
http://www.blogjava.net/qiyadeng/articles/23776.html

热点排行