I'm trying to create input boxes on the fly by using php variables:


<INPUT TYPE = "HIDDEN" NAME = "status[<?=$i?>]" value = "<?=$status[$i]?>">

so that will create:

<INPUT TYPE = "HIDDEN" NAME = "status[0]" value = "collapse">
<INPUT TYPE = "HIDDEN" NAME = "status[1]" value = "collapse">

then i'm trying to set the value to something else using:


but i'm getting a an error on page dialog saying:

'document.all.tree.status.0 is null or not an object'

any ideas :)

basically i'm trying to create an IE and netscape friendly tree control which is all dynamically created using an array passed.




Reply via email to