- From: Jim Ley <jim.ley@gmail.com>
- Date: Sat, 26 Jun 2004 00:26:54 +0100
On Fri, 25 Jun 2004 23:08:47 +0000 (UTC), Ian Hickson <ian at hixie.ch> wrote:
> > Do you mean
> >
> > <input id=chicken pattern=A type=text>
> >
> > and
> >
> > document.getElementById('chicken').pattern
>
> Yes. The latter will only be present if the former is supported.
Right, maybe you should've tested this, since IE6 already returns the
above, example:
javascript:'<body%20onload="alert(document.body.firstChild.pattern)"><input%20id=chicken%20pattern=A></body>';
So, what method do we use?
Jim.
Received on Friday, 25 June 2004 16:26:54 UTC