[Dojo-interest] I am new to Dojo

Dustin Machi dmachi at sitepen.com
Fri Aug 8 19:11:41 UTC 2008


yes, if  you are getting dojo is not defined then it it isn't loading 
properly.  I would check the path and the server logs (use firebug's net 
tab to look and see what the problem is). 

Dustin


Praveen Alvandi wrote:
> Whenever i load the page i get an error called dojo not defined. Is 
> that the reason. the connect function is not working?
>
> By the Way thanks alot dmachi for trying to help me. dojo.byId also 
> failed.
>
> Praveen
>
> On Fri, Aug 8, 2008 at 11:46 PM, Dustin Machi <dmachi at sitepen.com 
> <mailto:dmachi at sitepen.com>> wrote:
>
>     ewps:
>
>     var helloButton = dojo.widget.byId('goat');
>
>     should be
>
>     var helloButton = dojo.byId('goat')
>
>
>
>     Praveen Alvandi wrote:
>     > Still no releif.
>     >
>     > On Fri, Aug 8, 2008 at 11:27 PM, Dustin Machi
>     <dmachi at sitepen.com <mailto:dmachi at sitepen.com>
>     > <mailto:dmachi at sitepen.com <mailto:dmachi at sitepen.com>>> wrote:
>     >
>     >     Praveen,
>     >
>     >     Your code looks generally correct, but you never actually
>     execute
>     >     any of it.
>     >
>     >     You should move the dojo.js include to the top, followed by your
>     >     function definitions, and finally followed by code that actually
>     >     executes the functions. You want these executions to happen
>     after the
>     >     dom is loaded, so you'd want to do something like
>     >     dojo.addOnLoad(init);
>     >
>     >     Dustin
>     >
>     >
>     >     Praveen Alvandi wrote:
>     >     > Sorry for being a noob.
>     >     >
>     >     > In the attached file I am trying to tie an event with the
>     >     button. But
>     >     > nothing happens. Please help me.
>     >     >
>     >     > Praveen
>     >     >
>     >    
>     ------------------------------------------------------------------------
>     >     >
>     >     > _______________________________________________
>     >     > FAQ: http://dojotoolkit.org/support/faq
>     >     > Book: http://dojotoolkit.org/docs/book
>     >     > Forums: http://dojotoolkit.org/forum
>     >     > Dojo-interest at dojotoolkit.org
>     <mailto:Dojo-interest at dojotoolkit.org>
>     <mailto:Dojo-interest at dojotoolkit.org
>     <mailto:Dojo-interest at dojotoolkit.org>>
>     >     > http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>     >     >
>     >     _______________________________________________
>     >     FAQ: http://dojotoolkit.org/support/faq
>     >     Book: http://dojotoolkit.org/docs/book
>     >     Forums: http://dojotoolkit.org/forum
>     >     Dojo-interest at dojotoolkit.org
>     <mailto:Dojo-interest at dojotoolkit.org>
>     >     <http://dojotoolkit.org/forumDojo-interest@dojotoolkit.org>
>     >     http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > FAQ: http://dojotoolkit.org/support/faq
>     > Book: http://dojotoolkit.org/docs/book
>     > Forums: http://dojotoolkit.org/forum
>     > Dojo-interest at dojotoolkit.org <mailto:Dojo-interest at dojotoolkit.org>
>     > http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>     >
>     _______________________________________________
>     FAQ: http://dojotoolkit.org/support/faq
>     Book: http://dojotoolkit.org/docs/book
>     Forums: http://dojotoolkit.org/forum
>     Dojo-interest at dojotoolkit.org
>     <http://dojotoolkit.org/forumDojo-interest@dojotoolkit.org>
>     http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org
> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>   


More information about the Dojo-interest mailing list