Well, looks like the widget sint available when you're trying to use it... you could delay the execution of your code for a bit... see the setTimeout javascript function for more
On Feb 4, 2008 9:51 AM, learner <[EMAIL PROTECTED]> wrote: > i try out code like below and i get "undefined" > > > <script> > > dojo.addOnLoad( function() { > > alert(dojo.widget.byId('addGroupDialog')); > } > ); > > </script> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]