views:

22

answers:

3

What's the minimum JavaScript I need if all I want to do is use the JQuery toggle functionality?

I'm confused if I need to download everything from

http://jqueryui.com/download

Or if I can use just the base JQuery from jquery.com

A: 

All you need is jQuery itself.

You only need jQuery UI if you want to use one of its UI components or effects.

SLaks
+2  A: 

To use toggle you simply need regular jQuery.

Jason Punyon
+1  A: 

All you need is is the base JQuery. In other words, just this file.

Don