--- Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> <script type="text/javascript">
> function init() {
> alert(document.getElementById('name[0]'));
> }
>
> dojo.addOnLoad(init);
> </script>
>
> It is the same as:
>
> <script type="text/javascript">
> alert(document.getElementById('name[0]'));
> </script>
>
> It is executed before the page loads.
Are you saying there's still a problem? AFAICT there are no issues with
dojo.addOnLoad. When you look at the DOM w/ Firebug does the ID match what
you expect? Is it legal to give an element an ID with brackets in it?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]