-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don,

Don Don wrote:
> in IE (all versions from 5 to 7) this just does not work.

I tried this exact file in MSIE 6.0.2900.2180 and it works just fine
(after you tell MSIE that it's okay to run scripts from a file you
grabbed off your own disk):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html>
<body>
<input type="text" name="firstName" maxlength="50" size="40"
value="First Name" onfocus="if(this.value=='First Name')this.value='';">
</body>
</html>

Mozilla ff renders this same page in standards compliance mode (as you
would expect, given that DOCTYPE), but can't remember how to tell what
MSIE is doing with it.

At any rate, it works for me. Do other scripts on your page work as
well? Perhaps you have a script somewhere else on the page that is
failing, causing this one never to be run. (??) I'm just grasping at
straws at this point.

Try the minimal example that you provided on a page all by itself and
see what happens for you.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFpmMW9CaO5/Lv0PARAjxsAKCWPP+RE8b64v/Cq1exCbEkttDYKgCeL8uP
s9eSOKDB+JbGEkBbrQ9VQ9k=
=Y75R
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to