which javascript framework can be used for all browsers
-
1"all" browsers? Or "most common"? Yahoo! reported that they get about 10.000 unique user agent strings on their pages...that's a lot of different browser setups. (yeah, most of them are probably spambots, but still...)peirix– peirix2009-07-10 08:48:31 +00:00Commented Jul 10, 2009 at 8:48
-
9Since "all browsers" includes those browsers that don't support JavaScript at all (yes, there are such browsers) I'd say: no JavaScript framework supports all browsers.Joachim Sauer– Joachim Sauer2009-07-10 08:55:28 +00:00Commented Jul 10, 2009 at 8:55
-
2Last time I tried using jQuery on NCSA Mosaic, it didn't work very well.skaffman– skaffman2009-07-10 08:58:14 +00:00Commented Jul 10, 2009 at 8:58
6 Answers
Cross browser JavaScript frameworks: Browser support (from what i can discover pls update in comments)
- Prototype Internet Explorer (IE) 6 +, Firefix (FF) 1+, Safari 2+, Opera (o) 9.25+, Chrome (c) 1+
- script.aculo.us IE 6 +, FF 1+, S 2+, O 9.25+, c 1+
- jQuery IE 6 +, FF 2+, S 3+, O 9+, C 1+
- Yahoo! User Interface Library IE 6 +, FF 3+, S 3+, O 9+, C unknown
- MooTools IE 6 +, FF 1.5+, S 2+, O 9+, C unknown
- Ext JS IE 6 +, FF 1+, S 2+, O 9.25, C 1+
- moo.fx
- Rico
- Qooxdoo IE 6 +, FF 1.5+, S 3+, O 9+, C 1+
- The Dojo Toolkit IE 6 +, FF 2+, S 3.2+, O 9.6+, C 1+
I've used
- jQuery
- yUI
but I always go back to jQuery.
It worth pointing out that different frameworks have different strengths, so work out what you want and find the best framework for you.
Many of them. You would be better asking which ones do not support all browsers. Furthermore, 'all browsers' is a bit vague, do you mean 'all current versions', 'all versions for the last x years' or what exactly?
If you're talking about recent, popular, reasonably current and sensible ones, others have pointed out jQuery and Mootools. There's also Prototype, and plenty more. You will have to decide on which best fits your purpose or programming style.
Comments
jQuery, mootools, there are plenty of them.
There is also Glow, BBC's javascript framework which works in Safari 2 and IE 5.5, other frameworks don't support all features in such old browsers.