js获取每一个property的value
<script>
function get ()
{
var count = document.getElementsByName('name').length;
for (i=0;i<count;i++)
{
alert(document.getElementsByName('name')[i].value);
}
}
</script>
from中获取
定义该属性为List类型,当从request中取时就以List存储
<script>
function get ()
{
var count = document.getElementsByName('name').length;
for (i=0;i<count;i++)
{
alert(document.getElementsByName('name')[i].value);
}
}
</script>
from中获取
定义该属性为List类型,当从request中取时就以List存储