[Javascript] 'name' property in forms not XHTML valid
David Dorward
david at dorward.me.uk
Wed Jan 25 04:40:50 CST 2006
On Wed, Jan 25, 2006 at 09:36:11AM -0000, Nick Fitzsimons wrote:
> In the new window case, one can always take advantage of one's bad
> clients' general cluelessness by using JavaScript to spawn the new window,
> and omitting the target="_blank". As they never turn JS off (and probably
> don't know how to), they get the despicable behaviour they desire, while
> your markup can remain as valid HTML 4.01 Strict. Anybody who regularly
> browses with JS off will be used to using the back button as nature
> intended, so nobody has a problem.
More and more browsers are coming with options to ignore
target="_blank", but they wouldn't ignore JavaScript. So if foisting
new windows is what the client wants (and you want talk them out of
it), the target option is actually, IMO, the better bet as its easier
for the end user to selectively disable.
--
David Dorward http://dorward.me.uk
More information about the Javascript
mailing list