jQuery Foggle is a plugin that lets you interact with various form elements based on user-input. It lets you choose which elements to enable (or disable) while the user fills out the form.
While you can achieve the same functionality by writing some amount of JavaScript for each such field, this plug-in makes it a breeze. It takes only two parameters and does the same for you in just one line of code.
v2 changelog
Checkbox issue fixed. Works with select elements
Check out a demo at http://lab.abhisekdutta.in/foggle/
Please note that it’s a jQuery plugin and it adds functionality only on the form elements. The demo app is for showing how it works. It doesn’t handle any server side interactions (although, it can be customised to handle them).