Choosing between jquery or YUI will change the overall / top-level design of your .js files or is it actually Just because of the difference in Framework API, the internal workings of your JS Functions? (I.e. how you can use DOM, selectors, built-in functions, firing events, etc.) /
When you compare the stability of both libraries:
YUI:
YAHOO.util.Dom.setStyle (['test', 'test2'], ' Ambiguity ', 0.5); Var opacity = YAHOO.util.Dom.getStyle ('test2', 'opacity');
and jQuery:
$ ("# test, # test2"). CSS ("Opacity", 0.5); Var opacity = $ ("# test2"). CSS ("Opacity");
They look very similar.
Therefore the general flow of the script should be with both libraries.
I see that the difference is in simplicity and length. I personally feel that jQuery means more sense, but if you do not pay attention to the nuances of each, then I am sure that They can fill your needs.
Comments
Post a Comment