[thelist] Javascript Versioning

david braun david.braun at centralnet.ch
Sun Dec 17 11:02:50 CST 2000


On 17.12.2000 at 16:35 Uhr, gassinaumasis at hotmail.com (Peter-Paul Koch) wrote:

> >You could use it for some kind of "browser-detection", since, if you
> >send out "javascript 1.3" the elder browsers wont get it... not
> >declaring a version gets the browser to execute scripts no matter wether
> >they actually -can- execute the code or not.
> >
> >And there's syntax-differences that _can_ matter (though I can't
> >remember what they are)
> 
> O, I understand what you can do with the versions, but I find support 
> detection (does this browser support document.all?) much, much more 
> reliable. If you use it, JS versions aren't necessary any more.
> 
> My rule: Never use a browser detect when you can use support detection.
> 
> ppk

agree

d; )
david




More information about the thelist mailing list