Error: f.easing[e.animatedProperties[this.prop]] is not a function
This problem happens with jQuery Easing Plugin. This error occurs when a newer version of jquery and jquery.easing is used with an older version of the call to animate.easing.
Use the following jQuery, JQuery Easing and JQuery Easing Compatibility
Download JQuery – Latest version from JQuery
Download JQuery – Version 1.5.2 hosted at Google
JQuery Easing Plugin – Version 1.3 by George McGinley Smith
JQuery Easing Compatibility (for use with older versions) – by George McGinley Smith
Works for me if I use the native setAttribute().
Also, remember that you need quotes around the selector.
the final html will be
<select id="sel_id" onchange="foo();" >
Also remember to define foo in the global namespace, and not inside jQuery’s .ready() function.
It’s important to note that this method does not replace a class. It simply adds the class, appending it to any which may already be assigned to the elements.
More than one class may be added at a time, separated by a space, to the set of matched elements, like so:
We wrote a script to “equalize” the heights of boxes within the same container and create a tidy grid — with little overhead.