<html>
<head>
<script type="text/javascript">
function getElements()
{
var x=document.getElementsByName("myInput[]");
alert(x.length);
alert(x[0].value);
alert(x[1].value);
alert(x[2].value);
}
</script>
</head>
<body>
<input name="myInput[]" type="checkbox" size="20" value='10'/>10
<input name="myInput[]" type="checkbox" size="20" value='20' />20
<input name="myInput[]" type="checkbox" size="20" value='30' />30
Similar Posts
Machine Learning, Big Data, Data Science, Analytics, Cloud, Security, AI, Robotics, Database, BI, Development: Software, Web, Mobile