Variable Properties
The shortest cookie ever: How to assign properties from variable hashes, or: Why dotted notation rocks.
Read the rest of this entry »
Date added: July 17th, 2008 | Author: dante
The shortest cookie ever: How to assign properties from variable hashes, or: Why dotted notation rocks.
Read the rest of this entry »
Date added: July 17th, 2008 | Author: dante
Here's a simple HOWTO to submit your editor content inside a form tag. There are other ways to do this, but this is what I do.
Read the rest of this entry »
Date added: July 16th, 2008 | Author: trutwijd
Scope in javascript is one of those topics that won't go away. It continues to trip people up again and again, despite numerous articles including a great cookie right here on dojo campus. In this cookie, I'm going to sneak up on dojo.hitch from a different angle by re-visiting some of the basics of how function scope works.
Read the rest of this entry »
Date added: July 15th, 2008 | Author: sfoster
Dealing with dates in software can be trickier than it seems. The web and Javascript add to the challenge. Because your code is on the web, users are likely to execute it in a variety of platforms in different locales and time zones, and Javascript isn't always helpful abstracting these issues in development. Javascript has got a bunch of quirks of its own related to dates, perhaps worthy of their own cookies, but it's got a reasonably straightforward API. Read the rest of this entry »
Date added: July 3rd, 2008 | Author: peller
Every now and then, you're going to run into a problem with a particular browser (I'm sure you know what I'm talking about), and so you need your JavaScript to adjust accordingly. Browser detection is the answer and here's a short cookie on how you can do it using Dojo. Read the rest of this entry »
Date added: June 26th, 2008 | Author: gtducati