You should probably report that somewhere, for IE8, specially as it's still beta.
-- Ariel Flesler http://flesler.blogspot.com On 10 jun, 10:55, jrabbit <[EMAIL PROTECTED]> wrote: > I've just discovered a slight compatibility issue with the IE8 beta > when running in the default standards mode. The following code should > return undefined, but it actually returns an empty string: > > <html> > <div>hello</div> > > <script type="text/javascript" src="jquery-1.2.6.js"></script> > > <script type="text/javascript"> > > alert($("div").attr("doesnotexist")); > > </script> > </html> > > It works correctly when running in IE7 emulation mode.