Whoa! Talk about "syntax picky"! That did it...simply changing the s to S made it work. And I thought CF could be picky sometimes!
Thanks for the tip, Jim, and the other info... Rick -----Original Message----- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 11:38 PM To: CF-Talk Subject: RE: What's wrong with the Javascript? Off the top of my head I think the property is "defaultStatus" - capital "S". Coming from CF case sensitivity in JS will slap you around like a red-headed step child. ;^) Just so you know what's happening tho: JavaScript is an open "prototype" language. This means you can add things (properties, functions, events, etc) to the objects on the fly anytime you like. In your case you're actually creating a brand new property on the statusbar object called "defaultstatus". The system doesn't have anything to do with it but it is there and can be used for something. This is why you're not getting an error. This capability can be INSANELY useful however. A great use is in adding information to form elements. You might, for example, add a property called "LastUpdate" to all your form elements - you can then set this to the current date/time onChange(). Another process might run on an interval which loops through the form elements on a page and checks the LastUpdate dates to see which form elements have been changed since the last run through. You could add a "Source" property to OPTION objects to make related select-box functionality insanely simple. All very, very powerful stuff. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200937 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

