[Dojo-interest] Cannot run dojo off own server
Shane O'Sullivan
shaneosullivan1 at gmail.com
Wed Jun 9 10:48:04 EDT 2010
Try setting type="text/javascript" on the dojo.js <script> element.
Looking at it in Firebug, is Dojo even loaded, or is just the parsing broken?
On 9 June 2010 15:43, tumby1974 <tumby1974 at hotmail.com> wrote:
>
> I'm using the dojo code for the textarea feature and it works fine when I go
> through the CDN (google). But the computers that will be using it are not
> able to access the internet, so it doesn't work for them. I installed dojo
> on our webserver and cannot get it to work.
>
> here is the code in the <head></head> area:
> <script src="js/dojo/dojo.js" djconfig="parseOnLoad: true"></script> (and
> without the djconfig stuff too)
>
> <script type="text/javascript">
> dojo.require("dijit.form.Textarea");</script>
>
> Here is my textarea code:
> <textarea id="ResultsNotes"
> dojotype="dijit.form.Textarea">{Notes}</textarea>
>
> I was thinking I had the path wrong, and tried various paths that might
> work. I've had the second script line in the body and that didn't work
> either. I don't know what else to try.
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Cannot-run-dojo-off-own-server-tp882391p882391.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
More information about the Dojo-interest
mailing list