jQuery is the most efficient and effective Javascript library for modern Web development. jQuery is already built into Drupal, you can use it instantly with no modification.
If you do not use Drupal, you may have to download and install jQuery. See jQuery for people not using Drupal - Installation and getting started.
Read about the flashy .hover() function in jQuery hover.
See how to mix jQuery with Javascript in jQuery hover de-duplication example. The page also covers code reduction by removing duplication.
Alternatives
Yahoo UI
Yahoo developed a user interface library, YUI, that is many times larger than jQuery, much harder to use, and is generally a pain compared to jQuery. YUI has enough errors, or inconsistencies between code and documentation, that you are unlikely to get to a point where you will run into debug problems with Firebug.
Conclusion
Use jQuery but push the developers to clean up the code using the Firebird diagnostics and Firebug.





- Facebook Like
- Log in or register to post comments