得到radiobuttonlist 选中值:
var CheckBoxList=document.all.optButtonList;
var objCheckBox,CheckValue="";
for(i=0;i<CheckBoxList.rows.length;i++)
{
objCheckBox = document.getElementById('optButtonList'+ "_" + i);
if(objCheckBox.checked == true)
{
CheckValue = objCheckBox.value;
}
}
if(CheckValue!="")
{
alert(CheckValue) ; }
得到 CheckBoxList 选中值
var CheckBoxList=document.all.checkList;
var objCheckBox,CheckValue="";
for(i=0;i<CheckBoxList.rows.length;i++)
{
objCheckBox = document.getElementById("checkList_" + i);
if(objCheckBox.checked == true)
{
CheckValue += CheckBoxList.rows[i].cells[0].childNodes(1).innerText + ",";
}
}
if(CheckValue!="")
{
alert(CheckValue);
}
var CheckBoxList=document.all.optButtonList;
var objCheckBox,CheckValue="";
for(i=0;i<CheckBoxList.rows.length;i++)
{
objCheckBox = document.getElementById('optButtonList'+ "_" + i);
if(objCheckBox.checked == true)
{
CheckValue = objCheckBox.value;
}
}
if(CheckValue!="")
{
alert(CheckValue) ; }
得到 CheckBoxList 选中值
var CheckBoxList=document.all.checkList;
var objCheckBox,CheckValue="";
for(i=0;i<CheckBoxList.rows.length;i++)
{
objCheckBox = document.getElementById("checkList_" + i);
if(objCheckBox.checked == true)
{
CheckValue += CheckBoxList.rows[i].cells[0].childNodes(1).innerText + ",";
}
}
if(CheckValue!="")
{
alert(CheckValue);
}
1005.Web安全攻防靶场之WebGoat – 1
1004.Google Hack技术
1003.漏洞及渗透练习平台
exynos4412—UART裸板复习
Linux3.5—IIC学习分析
Linux3.5—视屏模块学习与分析
Linux-3.5-Exynos4412驱动分层分离
Linux字符设备学习,总结
学习/linux/list.h_双链表实现