• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Advanced DHTML Techniques > Working with Data Objects

Working with Data Objects

A third way to store variable information (variables and arrays being the first two) is to set up a data object. Data objects basically allow you to associate variables to a variable. Like an array, this lets you store multiple values in a single variable signifier, but unlike arrays, it allows you to give each of these values a variable name rather than a number.

For example, you might create a data object named userProfile1 and then associate additional values with this object using the format


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint