This was Garret's original code; it cannot be used for feature detection, as explained. Chris
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joao Eiras Sent: Wednesday, October 01, 2008 7:30 PM To: Aaron Boodman; whatwg@lists.whatwg.org Subject: Re: [whatwg] Placeholder option for text input boxes Another thing: if( 'placeholder' in referencetoInput ){ ... } can be used for feature detection, else a javascript fallback could be supplied as the later is the common case.