就象这样的一组radiobutton要如何使得不能被别人更改呢?<input type="radio" value="V1" checked name="R1">
<input type="radio" value="V2" name="R1">
<input type="radio" value="V3" name="R1">
<input type="radio" value="V4" name="R1">
<input type="radio" value="V2" name="R1">
<input type="radio" value="V3" name="R1">
<input type="radio" value="V4" name="R1">
<input type="radio" value="V1" checked name="R1" disabled>
<input type="radio" value="V2" name="R1" disabled>
<input type="radio" value="V3" name="R1" disabled>
<input type="radio" value="V4" name="R1" disabled>也可以在cs里通过输出脚本控制
private void Page_Load(object sender, System.EventArgs e)
{
Page.RegisterStartupScript("",@"<script> var tmp = document.getElementsByName('R1');
var i;
for(i=0;i<tmp.length;i++)
tmp[i].disabled = true;</script>");
}
html控件是:disabled="false"