Menu
<script>
function lala() {
for (i=0;i<5;i++) {
if (document.forma.elements[“pole[“+i+”]”].value == “1”){
document.forma.elements[“pole[“+i+”]”].value = “Slava”
}
}
}
</script>
<form name=forma>
<input type=text name=pole[1] value=”1″>
<input type=button onclick=”lala()”>
</form>
=========================
Internet Explorer shows error “document.forma.elements[…].value is not an object” and doesn’t do anything
if I replace “<input type=text name=pole[[b]1[b]0]
Why is it? How to fix&