The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

What replaced "onSubmit" for forms in XHTML 1.0? by shorty822006-03-30 18:26:40
  onsubmit (n/t) by ToLazyToThink2006-03-30 18:29:54
    Or you could use a full event listener, instead... by fudje2006-03-30 18:55:19
      You can work around it in IE though. by bwkaz 2006-03-30 19:07:30
Yes, it's crappy double- (or triple-, depending on what you need to support) coding, but if you have to support IE, it's the only way to do it.

(BTW, in case anyone's wondering: No, Microsoft did *NOT* fix this in IE7, at least not in the beta that we have installed on one machine at work. There is still no HTMLElement.prototype.addEventListener function, so you have to do feature detection and choose between addEventListener (from the DOM 2 Events spec) and attachEvent with different arguments (the IE non-standard). Sigh. Will they ever learn?)
[ Reply ]
        Of course they won't. by fudje2006-03-30 19:08:55

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)